diff options
author | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-12-10 18:58:26 +0000 |
---|---|---|
committer | liujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-12-10 18:58:26 +0000 |
commit | 5d701498ddfc103ae115ed35df564b822e040b04 (patch) | |
tree | c7e52c5917f1967814a4d5d8d0f39dfcabd2fbfc | |
parent | 5e6539205e6810d0ee3d5a7fa7394deece92705d (diff) | |
download | protobuf-5d701498ddfc103ae115ed35df564b822e040b04.tar.gz protobuf-5d701498ddfc103ae115ed35df564b822e040b04.tar.bz2 protobuf-5d701498ddfc103ae115ed35df564b822e040b04.zip |
Remove unused macros.
-rw-r--r-- | src/google/protobuf/stubs/type_traits.h | 10 |
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_ |