From f8873064a5b4152713d69de035a2dd4253769d5b Mon Sep 17 00:00:00 2001 From: ThePhD Date: Fri, 13 May 2016 13:50:15 -0400 Subject: [PATCH] And glibc is a fuccboi too. --- sol/error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/error.hpp b/sol/error.hpp index 5e4f41ca..5c170e72 100644 --- a/sol/error.hpp +++ b/sol/error.hpp @@ -44,7 +44,7 @@ public: error& operator=(const error& e) = default; error& operator=(error&& e) = default; - virtual const char* what() const override { + virtual const char* what() const noexcept override { return w.c_str(); } };