aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-12-10 18:58:26 +0000
committerGravatar liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-12-10 18:58:26 +0000
commit5d701498ddfc103ae115ed35df564b822e040b04 (patch)
treec7e52c5917f1967814a4d5d8d0f39dfcabd2fbfc
parent5e6539205e6810d0ee3d5a7fa7394deece92705d (diff)
Remove unused macros.
-rw-r--r--src/google/protobuf/stubs/type_traits.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/google/protobuf/stubs/type_traits.h b/src/google/protobuf/stubs/type_traits.h
index 997f35d4..e41f5e6f 100644
--- a/src/google/protobuf/stubs/type_traits.h
+++ b/src/google/protobuf/stubs/type_traits.h
@@ -333,14 +333,4 @@ struct is_convertible
} // namespace protobuf
} // namespace google
-// Right now these macros are no-ops, and mostly just document the fact
-// these types are PODs, for human use. They may be made more contentful
-// later. The typedef is just to make it legal to put a semicolon after
-// these macros.
-#define DECLARE_POD(TypeName) typedef int Dummy_Type_For_DECLARE_POD
-#define DECLARE_NESTED_POD(TypeName) DECLARE_POD(TypeName)
-#define PROPAGATE_POD_FROM_TEMPLATE_ARGUMENT(TemplateName) \
- typedef int Dummy_Type_For_PROPAGATE_POD_FROM_TEMPLATE_ARGUMENT
-#define ENFORCE_POD(TypeName) typedef int Dummy_Type_For_ENFORCE_POD
-
#endif // GOOGLE_PROTOBUF_TYPE_TRAITS_H_