diff options
Diffstat (limited to 'lib/Utils/DebugDump.cpp')
-rw-r--r-- | lib/Utils/DebugDump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index 315b564..068cfa5 100644 --- a/lib/Utils/DebugDump.cpp +++ b/lib/Utils/DebugDump.cpp @@ -43,7 +43,7 @@ void CDebugDump::Open(const std::string& pDir) { if (m_bOpened) { - throw "CDebugDump::CDebugDump(): DebugDump is already opened."; + throw std::string("CDebugDump::CDebugDump(): DebugDump is already opened."); } m_sDebugDumpDir = pDir; std::string lockPath = m_sDebugDumpDir + "/.lock"; @@ -138,7 +138,7 @@ void CDebugDump::Create(const std::string& pDir) { if (m_bOpened) { - throw "CDebugDump::CDebugDump(): DebugDump is already opened."; + throw std::string("CDebugDump::CDebugDump(): DebugDump is already opened."); } m_sDebugDumpDir = pDir; |