Mercurial > hg > vamp-plugin-load-checker
changeset 50:5f91094e5680
Ensure runtime_error is declared
author | Chris Cannam |
---|---|
date | Thu, 11 Oct 2018 15:55:17 +0100 |
parents | 51a8fe0a03cf |
children | dd193244d97d |
files | src/helper.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/helper.cpp Tue Oct 02 11:55:03 2018 +0100 +++ b/src/helper.cpp Thu Oct 11 15:55:17 2018 +0100 @@ -90,6 +90,7 @@ #include <string> #include <iostream> +#include <stdexcept> #ifdef _WIN32 #ifndef UNICODE @@ -297,7 +298,8 @@ #endif if (normalFd < 0 || suspendedFd < 0) { - throw runtime_error("Failed to initialise fds for stdio suspend/resume"); + throw std::runtime_error + ("Failed to initialise fds for stdio suspend/resume"); } }