]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4805: add missing include for stdexcept (#124)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sun, 14 Jan 2018 00:01:56 +0000 (13:01 +1300)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2018 00:01:56 +0000 (13:01 +1300)
Now that TextException inherits from std::runtime_error we have to include the definitions from stdexcept.

The exception include only defines std::exception base class.

src/base/TextException.h

index 924e093d0b48c6f3ae3c0ab8043f8871cc78c07c..687081ba6279d89fd7dc09b760eb7bf44201c962 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "base/Here.h"
 
-#include <exception>
+#include <stdexcept>
 
 class SBuf;