Using std::hash as default hash functor in cds
authorkhizmax <libcds.dev@gmail.com>
Thu, 25 Sep 2014 19:04:49 +0000 (23:04 +0400)
committerkhizmax <libcds.dev@gmail.com>
Thu, 25 Sep 2014 19:04:49 +0000 (23:04 +0400)
cds/opt/hash.h

index bd40719555c1918992751db0394ae131ca09d166..982cdfd35ac74aabec8be0483e21057a6d6273fd 100644 (file)
@@ -30,7 +30,7 @@ namespace cds { namespace opt {
 
     namespace v {
         //@cond
-        using cds::details::hash;
+        using std::hash;
 
         /// Metafunction selecting default hash implementation
         /**
@@ -45,7 +45,7 @@ namespace cds { namespace opt {
         template <typename Hash>
         struct hash_selector
         {
-            typedef Hash    type    ;   ///< resulting implementation of hash functor
+            typedef Hash    type;   ///< resulting implementation of hash functor
         };
 
         template <>