diff options
Diffstat (limited to 'test/cpp/util/proto_reflection_descriptor_database.h')
-rw-r--r-- | test/cpp/util/proto_reflection_descriptor_database.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/util/proto_reflection_descriptor_database.h b/test/cpp/util/proto_reflection_descriptor_database.h index 4bb9c21a92..bc25fb0f5c 100644 --- a/test/cpp/util/proto_reflection_descriptor_database.h +++ b/test/cpp/util/proto_reflection_descriptor_database.h @@ -32,6 +32,7 @@ */ #include <memory> +#include <mutex> #include <unordered_map> #include <unordered_set> #include <vector> @@ -98,6 +99,7 @@ class ProtoReflectionDescriptorDatabase std::unordered_set<string> missing_symbols_; std::unordered_map<string, std::unordered_set<int>> missing_extensions_; std::unordered_map<string, std::vector<int>> cached_extension_numbers_; + std::mutex stream_mutex_; google::protobuf::SimpleDescriptorDatabase cached_db_; }; |