diff --git a/src/idl_gen_cpp.cpp b/src/idl_gen_cpp.cpp index 3a4476fec..c690240d6 100644 --- a/src/idl_gen_cpp.cpp +++ b/src/idl_gen_cpp.cpp @@ -208,7 +208,7 @@ class CppGenerator : public BaseGenerator { // This tracks the current namespace so we can insert namespace declarations. const Namespace *cur_name_space_ = nullptr; - const Namespace * CurrentNameSpace() {return cur_name_space_;} + const Namespace *CurrentNameSpace() { return cur_name_space_; } // Translates a qualified name in flatbuffer text format to the same name in // the equivalent C++ namespace.