Fix a compile error

This commit is contained in:
Eduardo Bart 2013-01-26 15:17:32 -02:00
parent 6594b2d090
commit 835adfb4ce
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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