Compiles again under MSW after porting changes for linux

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@186 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-01-29 14:16:57 +00:00
parent 79a90529ac
commit 3a18f787ce
8 changed files with 14 additions and 16 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ class PackageError : public Error {
class FileNotFoundError : public PackageError {
public:
inline FileNotFoundError(const String& file, const String& package)
: PackageError(_ERROR_2_("file not found", file.c_str(), package.c_str()))
: PackageError(_ERROR_2_("file not found", file, package))
{}
};
@@ -68,7 +68,7 @@ class ParseError : public Error {
class FileParseError : public ParseError {
public:
inline FileParseError(const String& err, const String& file) :
ParseError(_ERROR_2_("file parse error", file.c_str(), err.c_str()))
ParseError(_ERROR_2_("file parse error", file, err))
{}
};