Skip to content

Commit

Permalink
missing base class init in copy ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Mar 16, 2017
1 parent b12ab93 commit 6a39b84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/base/src/utils/simpleini/SimpleIni.h
Expand Up @@ -2165,7 +2165,7 @@ struct MRPT_IniFileParser : public SI_ConvertA<char>
MRPT_IniFileParser(bool a_bStoreIsUtf8) : SI_ConvertA<char>(a_bStoreIsUtf8) { }

/* copy and assignment */
MRPT_IniFileParser(const MRPT_IniFileParser & rhs) { SI_ConvertA<char>::operator=(rhs); }
MRPT_IniFileParser(const MRPT_IniFileParser & rhs) : SI_ConvertA<char>(rhs) { SI_ConvertA<char>::operator=(rhs); }
MRPT_IniFileParser & operator=(const MRPT_IniFileParser & rhs) {
SI_ConvertA<char>::operator=(rhs);
return *this;
Expand Down Expand Up @@ -2836,4 +2836,3 @@ typedef CSimpleIniTempl<wchar_t,
} // end namespace

#endif // INCLUDED_SimpleIni_h

0 comments on commit 6a39b84

Please sign in to comment.