From eb339e9f83efb554302dd8398224650a41f7debb Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Wed, 19 Sep 2001 20:23:53 +0000 Subject: [PATCH] rename local template parameter from duplicate "T" to "Y" [SVN r11156] --- test/boost_no_mem_templ_frnds.ipp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; }