diff options
Diffstat (limited to 'src/DlAbortEx.h')
| -rw-r--r-- | src/DlAbortEx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DlAbortEx.h b/src/DlAbortEx.h index 151e2e60..4d7fe7e6 100644 --- a/src/DlAbortEx.h +++ b/src/DlAbortEx.h @@ -26,10 +26,10 @@ class DlAbortEx:public Exception { public: DlAbortEx():Exception() {} - DlAbortEx(string msg, ...):Exception() { + DlAbortEx(const char* msg, ...):Exception() { va_list ap; va_start(ap, msg); - setMsg(msg, ap); + setMsg(string(msg), ap); va_end(ap); } }; |
