Tweak code for older GCC

This commit is contained in:
James Turner 2019-04-11 21:39:41 +01:00
parent 57339486d9
commit 114ddcff52

View File

@ -27,7 +27,7 @@ namespace compositor {
* represented in the property tree. Useful for OSG or OpenGL enums. * represented in the property tree. Useful for OSG or OpenGL enums.
*/ */
template<class T> template<class T>
using PropStringMap = const std::unordered_map<std::string, T>; using PropStringMap = std::unordered_map<std::string, T>;
template <class T> template <class T>
bool findPropString(const std::string &str, bool findPropString(const std::string &str,