Fixed clang "unused-function" warning
authorkhizmax <libcds.dev@gmail.com>
Tue, 23 May 2017 19:45:03 +0000 (22:45 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 23 May 2017 19:45:03 +0000 (22:45 +0300)
test/unit/misc/split_bitstring.cpp

index 873b1c520f7162cfa50295998a0938a4a3872138..8702d833976bd5a215dacb00accec5d1f820126b 100644 (file)
@@ -423,11 +423,12 @@ namespace {
         struct int48 {
             uint32_t    n32;
             uint16_t    n16;
-
+#if 0
             friend bool operator ==( int48 lhs, int48 rhs )
             {
                 return lhs.n32 == rhs.n32 && lhs.n16 == rhs.n16;
             }
+#endif
 
             uint64_t to64() const
             {