Moved INITIAL_HASH_VALUE from hash.cpp to hash.h 28/49328/1
authorChu Hoang <c.hoang@samsung.com>
Mon, 12 Oct 2015 14:41:15 +0000 (15:41 +0100)
committerChu Hoang <c.hoang@samsung.com>
Mon, 12 Oct 2015 14:41:15 +0000 (15:41 +0100)
Change-Id: I474044a9e2ed7437d1792fc97327372e26a9dbc3

dali/devel-api/common/hash.cpp
dali/devel-api/common/hash.h

index 1cfcf11..3b8b3bd 100644 (file)
@@ -27,7 +27,6 @@ namespace //unnamed namespace
 /*
  * djb2 (http://www.cse.yorku.ca/~oz/hash.html)
  */
-const std::size_t INITIAL_HASH_VALUE = 5381;
 
 inline void HashString( const char* string, std::size_t& hash )
 {
index 246907b..47b364f 100644 (file)
@@ -27,6 +27,8 @@
 namespace Dali
 {
 
+const std::size_t INITIAL_HASH_VALUE = 5381;
+
 /**
  * @brief Create a hash code for a string
  * @param toHash string to hash