Skip to content

Commit

Permalink
Fix initialisation order warning
Browse files Browse the repository at this point in the history
  • Loading branch information
woodwan authored and martinweismann committed Oct 7, 2021
1 parent 8186b1e commit c9fd78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/buildbindingccpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ func buildCppHeader(component ComponentDefinition, w LanguageWriter, NameSpace s
w.Writeln(" * Exception Constructor.")
w.Writeln(" */")
w.Writeln(" E%sException(%sResult errorCode, const std::string & sErrorMessage)", NameSpace, NameSpace)
w.Writeln(" : m_originalErrorMessage(sErrorMessage), m_errorCode(errorCode)")
w.Writeln(" : m_errorCode(errorCode), m_originalErrorMessage(sErrorMessage)")
w.Writeln(" {")
w.Writeln(" m_errorMessage = buildErrorMessage();")
w.Writeln(" }")
Expand Down

0 comments on commit c9fd78c

Please sign in to comment.