summaryrefslogtreecommitdiff
path: root/src/modules/fetcher/winhttp/WinHttpFetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/fetcher/winhttp/WinHttpFetcher.cpp')
-rwxr-xr-xsrc/modules/fetcher/winhttp/WinHttpFetcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fetcher/winhttp/WinHttpFetcher.cpp b/src/modules/fetcher/winhttp/WinHttpFetcher.cpp
index 5c8839d..19227f1 100755
--- a/src/modules/fetcher/winhttp/WinHttpFetcher.cpp
+++ b/src/modules/fetcher/winhttp/WinHttpFetcher.cpp
@@ -17,7 +17,7 @@ WinHttpFetcher::WinHttpFetcher( )
if( !m_session ) {
std::ostringstream ss;
ss << "Error creating WinHttp session: " << getLastError( );
- throw new std::runtime_error( ss.str( ) );
+ throw std::runtime_error( ss.str( ) );
}
}