Fixed compile errors on Windows

This commit is contained in:
Wouter van Oortmerssen
2016-06-02 14:55:35 -07:00
parent ca32eb77f3
commit e92ae5199d
2 changed files with 9 additions and 5 deletions

View File

@@ -45,6 +45,10 @@ class BaseGenerator {
namespace_dir_(BaseGenerator::NamespaceDir(parser, path)){};
virtual ~BaseGenerator(){};
// No copy/assign.
BaseGenerator &operator=(const BaseGenerator &);
BaseGenerator(const BaseGenerator &);
const char *FlatBuffersGeneratedWarning() {
return "automatically generated by the FlatBuffers compiler,"
" do not modify\n\n";