diff options
| author | Odd Stranne <odd@mullvad.net> | 2020-01-28 14:34:10 +0100 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2020-01-28 14:34:10 +0100 |
| commit | e13e04f5104557d8722666fc599502e9c336bdcc (patch) | |
| tree | 02696149b415b628c4291274e8a4fe22b12f9dd4 /windows/nsis-plugins/src/string/string.cpp | |
| parent | c48e088f5cd7bf101db33e117d8ea7acf86c9580 (diff) | |
| parent | 5ba8f62fb81f13f7ffa9b816ba33cbb814ce1417 (diff) | |
| download | mullvadvpn-e13e04f5104557d8722666fc599502e9c336bdcc.tar.xz mullvadvpn-e13e04f5104557d8722666fc599502e9c336bdcc.zip | |
Merge branch 'less-macro-magic'
Diffstat (limited to 'windows/nsis-plugins/src/string/string.cpp')
| -rw-r--r-- | windows/nsis-plugins/src/string/string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/windows/nsis-plugins/src/string/string.cpp b/windows/nsis-plugins/src/string/string.cpp index 6071e6303d..230a9a3696 100644 --- a/windows/nsis-plugins/src/string/string.cpp +++ b/windows/nsis-plugins/src/string/string.cpp @@ -1,6 +1,6 @@ #include "stdafx.h" #include <nsis/pluginapi.h> -#include <stdexcept> +#include <libcommon/error.h> #include <string> // Suppress warnings caused by broken legacy code @@ -21,7 +21,7 @@ std::wstring PopString() if (!g_stacktop || !*g_stacktop) { - throw std::runtime_error("NSIS variable stack is corrupted"); + THROW_ERROR("NSIS variable stack is corrupted"); } stack_t *th = *g_stacktop; |
