Convert flatbuffers_version_string to inline function (#7046)

* Skip conditional for python executable

* replaced flatbuffers_version_string with inline function

* use const char* instead of string
This commit is contained in:
Derek Bailey
2022-01-29 19:42:56 -08:00
committed by GitHub
parent 43203984f7
commit 7089c9ecdd
4 changed files with 6 additions and 38 deletions

View File

@@ -23,8 +23,6 @@
#include <utility>
#include <vector>
// just to get flatbuffer_version_string()
#include <flatbuffers/flatbuffers.h>
#include <flatbuffers/util.h>
#define to_string flatbuffers::NumToString