Commit 76a02413 authored by Charlie Harrison's avatar Charlie Harrison Committed by Wouter van Oortmerssen

Removing 'using namespace' usage in test_builder (#5154)

* Removing 'using namespace' usage in test_builder

* Fix GRPC tests
parent 31e34faa
......@@ -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);
......
......@@ -7,7 +7,9 @@
#include "flatbuffers/flatbuffers.h"
#include "test_assert.h"
using namespace MyGame::Example;
using MyGame::Example::Color;
using MyGame::Example::Monster;
namespace flatbuffers {
namespace grpc {
class MessageBuilder;
......
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