Skip to content

Commit

Permalink
Fixes a compilation error with GCC.
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticeRage committed Feb 6, 2016
1 parent 52ea5b1 commit bb01501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/manacommons/escape.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ template<typename T>
pString escape(const std::string& s)
{
BOOST_STATIC_ASSERT(boost::is_base_of<OutputFormatter, T>::value);
return _do_escape<T::escape_grammar>(s);
return _do_escape<typename T::escape_grammar>(s);
}

// ----------------------------------------------------------------------------
Expand All @@ -164,4 +164,4 @@ pString escape(const std::string& s)
*/
DECLSPEC_MANACOMMONS pString escape(const std::string& s);

}
}

0 comments on commit bb01501

Please sign in to comment.