mirror of
https://github.com/glest/glest-source.git
synced 2025-08-14 04:13:58 +02:00
- bugfix on linux
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <stdexcept>
|
||||||
#include "leak_dumper.h"
|
#include "leak_dumper.h"
|
||||||
|
|
||||||
using std::string;
|
using std::string;
|
||||||
@@ -167,7 +168,7 @@ public:
|
|||||||
return *result;
|
return *result;
|
||||||
}
|
}
|
||||||
else if(SystemFlags::debugLogFileList == NULL) {
|
else if(SystemFlags::debugLogFileList == NULL) {
|
||||||
throw std::exception("unknown return value for SystemFlagsType!");
|
throw std::runtime_error("unknown return value for SystemFlagsType!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user