From 150e2d1bed201ba1466cde47b21014b0811a22a3 Mon Sep 17 00:00:00 2001
From: znone <glyc@sina.com.cn>
Date: Tue, 02 Feb 2021 12:35:52 +0000
Subject: [PATCH] Add support for PostgreSQL

---
 include/qtl_mysql.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/qtl_mysql.hpp b/include/qtl_mysql.hpp
index 179df88..1bcd2a1 100644
--- a/include/qtl_mysql.hpp
+++ b/include/qtl_mysql.hpp
@@ -214,7 +214,7 @@
 	virtual ~error() throw() { }
 	int code() const throw() { return m_error; }
 	operator bool() const { return m_error != 0;  }
-	virtual const char* what() const throw() override { return m_errmsg.data(); }
+	virtual const char* what() const NOEXCEPT override { return m_errmsg.data(); }
 private:
 	unsigned int m_error;
 	std::string m_errmsg;

--
Gitblit v1.9.3