Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler warning in ResultTable.h #148

Closed
niklas88 opened this issue Nov 13, 2018 · 0 comments
Closed

Compiler warning in ResultTable.h #148

niklas88 opened this issue Nov 13, 2018 · 0 comments
Assignees

Comments

@niklas88
Copy link
Member

We currently get the following GCC warning for the recent ResultTable changes:

/app/src/engine/./ResultTable.h: In constructor ‘ResultTable::ResultTable()’:
/app/src/engine/./ResultTable.h:157:10: warning: ‘ResultTable::_status’ will be initialized after [-Wreorder]
   Status _status;
          ^~~~~~~
/app/src/engine/./ResultTable.h:62:35: warning:   ‘std::shared_ptr<std::vector<std::__cxx11::basic_string<char> > > ResultTable::_localVocab’ [-Wreorder]
   std::shared_ptr<vector<string>> _localVocab;
                                   ^~~~~~~~~~~
/app/src/engine/ResultTable.cpp:9:1: warning:   when initialized here [-Wreorder]
 ResultTable::ResultTable()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants