Index: third_party/protobuf/src/google/protobuf/stubs/callback.h |
diff --git a/third_party/protobuf/src/google/protobuf/stubs/callback.h b/third_party/protobuf/src/google/protobuf/stubs/callback.h |
index 87271c5eb8f58692cc967c9dbdc3c9814810c6c6..bbd507a84ba21c89bd73def76f68c55b2819e076 100644 |
--- a/third_party/protobuf/src/google/protobuf/stubs/callback.h |
+++ b/third_party/protobuf/src/google/protobuf/stubs/callback.h |
@@ -381,6 +381,8 @@ class MethodResultCallback_5_2 : public ResultCallback2<R, A1, A2> { |
typename remove_reference<P5>::type p5_; |
}; |
+} // namespace internal |
+ |
// See Closure. |
inline Closure* NewCallback(void (*function)()) { |
return new internal::FunctionClosure0(function, true); |
@@ -533,8 +535,6 @@ inline ResultCallback2<R, A1, A2>* NewPermanentCallback( |
p2, p3, p4, p5); |
} |
-} // namespace internal |
- |
// A function which does nothing. Useful for creating no-op callbacks, e.g.: |
// Closure* nothing = NewCallback(&DoNothing); |
void LIBPROTOBUF_EXPORT DoNothing(); |