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
084e5dbc
Commit
084e5dbc
authored
Jul 08, 2016
by
lakedaemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed initialization of member var for old make (hopefully)
parent
68a83edd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
idl_gen_cpp.cpp
src/idl_gen_cpp.cpp
+3
-2
No files found.
src/idl_gen_cpp.cpp
View file @
084e5dbc
...
...
@@ -39,7 +39,8 @@ class CppGenerator : public BaseGenerator {
public
:
CppGenerator
(
const
Parser
&
parser
,
const
std
::
string
&
path
,
const
std
::
string
&
file_name
)
:
BaseGenerator
(
parser
,
path
,
file_name
,
""
,
"::"
){};
:
BaseGenerator
(
parser
,
path
,
file_name
,
""
,
"::"
),
cur_name_space_
(
nullptr
){};
// Iterate through all definitions we haven't generate code for (enums,
// structs,
// and tables) and output them to a single file.
...
...
@@ -206,7 +207,7 @@ class CppGenerator : public BaseGenerator {
private
:
// This tracks the current namespace so we can insert namespace declarations.
const
Namespace
*
cur_name_space_
=
nullptr
;
const
Namespace
*
cur_name_space_
;
const
Namespace
*
CurrentNameSpace
()
{
return
cur_name_space_
;
}
...
...
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