Commit 9250fbae authored by TeBoring's avatar TeBoring

In std11, on mac, operator new doesn't take right reference.

parent 8908cf16
......@@ -167,7 +167,7 @@ class Map {
}
}
#if __cplusplus >= 201103L
#if __cplusplus >= 201103L && !defined(GOOGLE_PROTOBUF_OS_APPLE)
template<class NodeType, class... Args>
void construct(NodeType* p, Args&&... args) {
new (p) NodeType(std::forward<Args>(args)...);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment