Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
f1147f65
Commit
f1147f65
authored
Sep 30, 2019
by
Wouter van Oortmerssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Android STLPort related error.
Change-Id: I59ff072e526fc63b3215767a4d4a2a8944b65654
parent
69d3fec4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
idl_gen_general.cpp
src/idl_gen_general.cpp
+1
-1
No files found.
src/idl_gen_general.cpp
View file @
f1147f65
...
...
@@ -1784,7 +1784,7 @@ bool GenerateBinary(const Parser &parser, const std::string &path,
const
std
::
string
&
file_name
)
{
if
(
parser
.
opts
.
use_flexbuffers
)
{
auto
data_vec
=
parser
.
flex_builder_
.
GetBuffer
();
auto
data_ptr
=
reinterpret_cast
<
char
*>
(
data
_vec
.
data
(
));
auto
data_ptr
=
reinterpret_cast
<
char
*>
(
data
(
data_vec
));
return
!
parser
.
flex_builder_
.
GetSize
()
||
flatbuffers
::
SaveFile
(
BinaryFileName
(
parser
,
path
,
file_name
).
c_str
(),
data_ptr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment