diff options
author | Charlie Harrison <csharrison@chromium.org> | 2019-02-04 20:07:05 -0500 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-02-05 02:07:05 +0100 |
commit | 76a024137f818249926ebb3a74dcb5ac7e00a071 (patch) | |
tree | 0717ee414fca4d68488e2e062b08f390e08285a6 /grpc | |
parent | 31e34faa15b4c7e3eb056d58ceb41f67334b66cd (diff) | |
download | flatbuffers-76a024137f818249926ebb3a74dcb5ac7e00a071.tar.gz flatbuffers-76a024137f818249926ebb3a74dcb5ac7e00a071.tar.bz2 flatbuffers-76a024137f818249926ebb3a74dcb5ac7e00a071.zip |
Removing 'using namespace' usage in test_builder (#5154)
* Removing 'using namespace' usage in test_builder
* Fix GRPC tests
Diffstat (limited to 'grpc')
-rw-r--r-- | grpc/tests/message_builder_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grpc/tests/message_builder_test.cpp b/grpc/tests/message_builder_test.cpp index d5ed8d97..36f5bc2e 100644 --- a/grpc/tests/message_builder_test.cpp +++ b/grpc/tests/message_builder_test.cpp @@ -3,6 +3,10 @@ #include "test_assert.h" #include "test_builder.h" +using MyGame::Example::Vec3; +using MyGame::Example::CreateStat; +using MyGame::Example::Any_NONE; + bool verify(flatbuffers::grpc::Message<Monster> &msg, const std::string &expected_name, Color color) { const Monster *monster = msg.GetRoot(); return (monster->name()->str() == expected_name) && (monster->color() == color); |