diff options
Diffstat (limited to 'common/rfb')
-rw-r--r-- | common/rfb/DecodeManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/DecodeManager.cxx b/common/rfb/DecodeManager.cxx index 09118f36..4effe985 100644 --- a/common/rfb/DecodeManager.cxx +++ b/common/rfb/DecodeManager.cxx @@ -260,7 +260,7 @@ void DecodeManager::throwThreadException() if (threadException == nullptr) return; - std::exception e(*threadException); + std::runtime_error e(threadException->what()); delete threadException; threadException = nullptr; |