Fix build with Visual Studio 2013

Add #include <cstdint> to src/utils/context_free_grammar_generator.hpp. It
appears that without it, uint32_t ends up being different types in the
header and the implementation file (at least in Visual Studio 2013), which
makes the compiler complain that the print_nonterminal() function hasn't
been declared.
This commit is contained in:
Jyrki Vesterinen 2016-06-24 11:54:20 +03:00
parent febf4f3d3c
commit b640c82f74

View file

@ -21,6 +21,7 @@
#include <map> #include <map>
#include <list> #include <list>
#include <vector> #include <vector>
#include <cstdint>
class context_free_grammar_generator : public name_generator class context_free_grammar_generator : public name_generator
{ {