aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils/libservice/test
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-11 14:03:30 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-11 14:03:30 +0300
commit6dad6c604f89b8ffcddf08f9d81eecbb6b52b173 (patch)
treee5c222144ebc6270f5cab1ed27d828ab3ee4a687 /utils/libservice/test
parentadd libnt_path_converter (diff)
downloadwindows7-drivers-6dad6c604f89b8ffcddf08f9d81eecbb6b52b173.tar.gz
windows7-drivers-6dad6c604f89b8ffcddf08f9d81eecbb6b52b173.zip
utils: bugfix
Diffstat (limited to 'utils/libservice/test')
-rw-r--r--utils/libservice/test/windows_error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/libservice/test/windows_error.cpp b/utils/libservice/test/windows_error.cpp
index 461b4e6..376a7c8 100644
--- a/utils/libservice/test/windows_error.cpp
+++ b/utils/libservice/test/windows_error.cpp
@@ -10,8 +10,8 @@
#include <Windows.h>
+#include <exception>
#include <iostream>
-#include <system_error>
int main()
{
@@ -19,7 +19,7 @@ int main()
{
throw std::system_error(ERROR_FILE_NOT_FOUND, libservice::WinErrorCategory::get(), LIBSERVICE_ERROR_PREFIX);
}
- catch (const std::system_error& e)
+ catch (const std::exception& e)
{
std::cerr << e.what() << "\n";
return -1;