|
@@ -546,7 +546,9 @@ class Map {
|
|
|
}
|
|
|
|
|
|
#if __cplusplus >= 201103L && !defined(GOOGLE_PROTOBUF_OS_APPLE) && \
|
|
|
- !defined(GOOGLE_PROTOBUF_OS_NACL) && !defined(GOOGLE_PROTOBUF_OS_ANDROID)
|
|
|
+ !defined(GOOGLE_PROTOBUF_OS_NACL) && \
|
|
|
+ !defined(GOOGLE_PROTOBUF_OS_ANDROID) && \
|
|
|
+ !defined(GOOGLE_PROTOBUF_OS_EMSCRIPTEN)
|
|
|
template<class NodeType, class... Args>
|
|
|
void construct(NodeType* p, Args&&... args) {
|
|
|
new (static_cast<void*>(p)) NodeType(std::forward<Args>(args)...);
|