From: khizmax Date: Tue, 23 May 2017 19:45:03 +0000 (+0300) Subject: Fixed clang "unused-function" warning X-Git-Tag: v2.3.0~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e8f621b86b7e225790a85728a4d5822b4279f886;p=libcds.git Fixed clang "unused-function" warning --- diff --git a/test/unit/misc/split_bitstring.cpp b/test/unit/misc/split_bitstring.cpp index 873b1c52..8702d833 100644 --- a/test/unit/misc/split_bitstring.cpp +++ b/test/unit/misc/split_bitstring.cpp @@ -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 {