aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/generated_message_util.h
diff options
context:
space:
mode:
authorGravatar Feng Xiao <xfxyjwf@gmail.com>2017-03-30 23:54:39 +0000
committerGravatar Feng Xiao <xfxyjwf@gmail.com>2017-03-30 23:54:39 +0000
commitfe97d79abf610fdccfadcd4b503ab3bc0a162d30 (patch)
treec4a1b67232379f79f82fe7641f1c8f8d56828dad /src/google/protobuf/generated_message_util.h
parentfab8812cc1bb9db0683e7d0b0182a63ee1159874 (diff)
Fix MSVC DLL build.
Diffstat (limited to 'src/google/protobuf/generated_message_util.h')
-rw-r--r--src/google/protobuf/generated_message_util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/generated_message_util.h b/src/google/protobuf/generated_message_util.h
index 903c4ee8..055304a1 100644
--- a/src/google/protobuf/generated_message_util.h
+++ b/src/google/protobuf/generated_message_util.h
@@ -177,7 +177,7 @@ LIBPROTOBUF_EXPORT inline const ::std::string& GetEmptyString() {
return GetEmptyStringAlreadyInited();
}
-size_t StringSpaceUsedExcludingSelfLong(const string& str);
+LIBPROTOBUF_EXPORT size_t StringSpaceUsedExcludingSelfLong(const string& str);
// True if IsInitialized() is true for all elements of t. Type is expected