فهرست منبع

Fix a misplaced macro.

Change-Id: Ife609e073bd142d328b680c753f543bb18f4f66d
Feng Xiao 9 سال پیش
والد
کامیت
c5147e3d51
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      src/google/protobuf/compiler/command_line_interface_unittest.cc

+ 5 - 5
src/google/protobuf/compiler/command_line_interface_unittest.cc

@@ -63,13 +63,13 @@
 #include <google/protobuf/testing/googletest.h>
 #include <google/protobuf/testing/googletest.h>
 #include <gtest/gtest.h>
 #include <gtest/gtest.h>
 
 
+namespace google {
+namespace protobuf {
+namespace compiler {
 
 
 // Disable the whole test when we use tcmalloc for "draconian" heap checks, in
 // Disable the whole test when we use tcmalloc for "draconian" heap checks, in
 // which case tcmalloc will print warnings that fail the plugin tests.
 // which case tcmalloc will print warnings that fail the plugin tests.
 #if !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN
 #if !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN
-namespace google {
-namespace protobuf {
-namespace compiler {
 
 
 #if defined(_WIN32)
 #if defined(_WIN32)
 #ifndef STDIN_FILENO
 #ifndef STDIN_FILENO
@@ -1822,8 +1822,8 @@ TEST_F(EncodeDecodeTest, ProtoParseError) {
 
 
 }  // anonymous namespace
 }  // anonymous namespace
 
 
+#endif  // !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN
+
 }  // namespace compiler
 }  // namespace compiler
 }  // namespace protobuf
 }  // namespace protobuf
-
-#endif  // !GOOGLE_PROTOBUF_HEAP_CHECK_DRACONIAN
 }  // namespace google
 }  // namespace google