Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
71caf8c2
Commit
71caf8c2
authored
Jan 11, 2013
by
liujisi@google.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove "using" directives to disambiguate type_traits for vc2012.
parent
f5b373df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
21 deletions
+2
-21
type_traits_unittest.cc
src/google/protobuf/stubs/type_traits_unittest.cc
+2
-21
No files found.
src/google/protobuf/stubs/type_traits_unittest.cc
View file @
71caf8c2
...
...
@@ -47,27 +47,6 @@ using std::string;
using
std
::
vector
;
using
std
::
pair
;
using
google
::
protobuf
::
internal
::
add_reference
;
using
google
::
protobuf
::
internal
::
has_trivial_assign
;
using
google
::
protobuf
::
internal
::
has_trivial_constructor
;
using
google
::
protobuf
::
internal
::
has_trivial_copy
;
using
google
::
protobuf
::
internal
::
has_trivial_destructor
;
#if !defined(_MSC_VER) && !(defined(__GNUC__) && __GNUC__ <= 3)
using
google
::
protobuf
::
internal
::
is_convertible
;
using
google
::
protobuf
::
internal
::
is_enum
;
#endif
using
google
::
protobuf
::
internal
::
is_floating_point
;
using
google
::
protobuf
::
internal
::
is_integral
;
using
google
::
protobuf
::
internal
::
is_pointer
;
using
google
::
protobuf
::
internal
::
is_pod
;
using
google
::
protobuf
::
internal
::
is_reference
;
using
google
::
protobuf
::
internal
::
is_same
;
using
google
::
protobuf
::
internal
::
remove_const
;
using
google
::
protobuf
::
internal
::
remove_cv
;
using
google
::
protobuf
::
internal
::
remove_pointer
;
using
google
::
protobuf
::
internal
::
remove_reference
;
using
google
::
protobuf
::
internal
::
remove_volatile
;
// This assertion produces errors like "error: invalid use of
// incomplete type 'struct <unnamed>::AssertTypesEq<const int, int>'"
...
...
@@ -175,6 +154,7 @@ class J {
namespace
google
{
namespace
protobuf
{
namespace
internal
{
namespace
{
// A base class and a derived class that inherits from it, used for
...
...
@@ -643,5 +623,6 @@ TEST(TypeTraitsTest, TestConvertible) {
}
}
// anonymous namespace
}
// namespace internal
}
// namespace protobuf
}
// namespace google
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment