From aa688b9fe527b0e107e98b4ae8f0442ac18ce901 Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Tue, 16 Aug 2022 10:58:31 -0400
Subject: [PATCH] Make error message accessible from teqp exceptions

---
 include/teqp/exceptions.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/teqp/exceptions.hpp b/include/teqp/exceptions.hpp
index 88a3a3e..a17fc2a 100644
--- a/include/teqp/exceptions.hpp
+++ b/include/teqp/exceptions.hpp
@@ -19,6 +19,7 @@ namespace teqp {
         const int code;
         const std::string msg;
         teqpException(int code, const std::string& msg) : code(code), msg(msg) {};
+    public:
         const char* what() const noexcept override {
             return msg.c_str();
         }
-- 
GitLab