projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b5b98
)
Avoid constant in header, use enum instead for initial hash value
62/51762/2
author
Kimmo Hoikka
<kimmo.hoikka@samsung.com>
Fri, 13 Nov 2015 14:05:14 +0000
(14:05 +0000)
committer
Kimmo Hoikka
<kimmo.hoikka@samsung.com>
Fri, 13 Nov 2015 14:06:54 +0000
(06:06 -0800)
Change-Id: I489ba20d2b5add09646cf2fac4cad7157d40c5c2
dali/devel-api/common/hash.h
patch
|
blob
|
history
diff --git
a/dali/devel-api/common/hash.h
b/dali/devel-api/common/hash.h
index
47b364f
..
8a9a722
100644
(file)
--- a/
dali/devel-api/common/hash.h
+++ b/
dali/devel-api/common/hash.h
@@
-27,7
+27,10
@@
namespace Dali
{
-const std::size_t INITIAL_HASH_VALUE = 5381;
+enum
+{
+ INITIAL_HASH_VALUE = 5381
+};
/**
* @brief Create a hash code for a string