BaiGang / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Still one unused argument left in gmock-matchers.h #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As noted in a comment to issue #75, there is still one unused argument left
in gmock-matchers.h:

--- gmock-matchers.h.orig   2009-09-24 09:39:32.000000000 +0200
+++ gmock-matchers.h    2009-09-24 09:39:51.000000000 +0200
@@ -1611,7 +1611,7 @@
   typedef typename Functor::result_type ResultType;
   typedef Functor StorageType;

-  static void CheckIsValid(Functor functor) {}
+  static void CheckIsValid(Functor /* functor */) {}
   template <typename T>
   static ResultType Invoke(Functor f, T arg) { return f(arg); }
 };

Original issue reported on code.google.com by joel.ros...@gmail.com on 7 Oct 2009 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 12 Nov 2009 at 10:04

GoogleCodeExporter commented 9 years ago
This should be fixed in trunk now.

Original comment by w...@google.com on 23 Dec 2009 at 6:57