Fix a compile error

master
Eduardo Bart 11 years ago
parent 6594b2d090
commit 835adfb4ce

@ -47,7 +47,7 @@ bool Module::load()
for(const std::string& depName : m_dependencies) {
if(depName == m_name)
stdext::throw_exception(stdext::format("cannot depend on itself"));
stdext::throw_exception("cannot depend on itself");
ModulePtr dep = g_modules.getModule(depName);
if(!dep)

@ -81,6 +81,11 @@ std::string format(const std::string& format, const Args&... args) {
}
}
template<>
inline std::string format(const std::string& format) {
return format;
}
}
#endif

Loading…
Cancel
Save