diff --git a/test/boost_no_mem_templ_frnds.ipp b/test/boost_no_mem_templ_frnds.ipp index a41d6232..74a9308e 100644 --- a/test/boost_no_mem_templ_frnds.ipp +++ b/test/boost_no_mem_templ_frnds.ipp @@ -28,7 +28,7 @@ class foo private: template friend class foobar; template friend class foo; - template friend bool must_be_friend_proc(const foo& f); + template friend bool must_be_friend_proc(const foo& f); int i; public: foo(){ i = 0; } @@ -55,7 +55,9 @@ int test() { foo fi; foo fd(fi); + (void) &fd; // avoid "unused variable" warning foobar fb(fi); + (void) &fb; // avoid "unused variable" warning return 0; }