Commit 5347c24d authored by Jonas Stienen's avatar Jonas Stienen
Browse files

fixing warnings and template stuff in VA utils

parent ceffd236
......@@ -74,7 +74,7 @@ public:
inline bool Translate( const std::string& s, T& dest ) const
{
std::string t = toUppercase( stripSpaces( s ) );
std::map< std::string, T >::const_iterator it = m_mLiterals.find( t );
typename std::map< std::string, T >::const_iterator it = m_mLiterals.find( t );
if( it == m_mLiterals.end() )
return false;
dest = it->second;
......@@ -457,6 +457,8 @@ public:
private:
const CVAStruct& m_oStruct;
std::string m_sErrorPrefix;
inline CVAConfigInterpreter& operator=( CVAConfigInterpreter& ) {};
};
#endif // __VA_UTILS_H__
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment