From e8f621b86b7e225790a85728a4d5822b4279f886 Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 23 May 2017 22:45:03 +0300 Subject: [PATCH] Fixed clang "unused-function" warning --- test/unit/misc/split_bitstring.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.34.1