aboutsummaryrefslogtreecommitdiff
path: root/c/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/data.cpp')
-rw-r--r--c/data.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/data.cpp b/c/data.cpp
index e260209..58fcde7 100644
--- a/c/data.cpp
+++ b/c/data.cpp
@@ -16,7 +16,7 @@ struct InternetFile
INTERNET_OPEN_TYPE_DIRECT, nullptr, nullptr,
/*INTERNET_FLAG_ASYNC*/0);
if (!hi)
- throw Win32Error{};
+ throw Win32Error();
hiUrl = InternetOpenUrl(hi, url,
nullptr, 0, INTERNET_FLAG_NO_UI, 0);
@@ -39,7 +39,7 @@ struct InternetFile
if (InternetReadFile(hiUrl, buf, cb, &cbRead))
return cbRead;
else
- throw InternetError{};
+ throw InternetError();
}
HINTERNET hi;