From 03d05c0dbcad8f697ed4ed6e6986c9e360d994dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eckl=2C=20M=C3=A1t=C3=A9?= <ecklm94@gmail.com> Date: Thu, 7 Jul 2016 18:23:05 +0200 Subject: [PATCH] =?UTF-8?q?Aj=C3=A1nlott=20override-ok=20hozz=C3=A1ad?= =?UTF-8?q?=C3=A1sa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/exceptions/db_exception.h | 2 +- include/exceptions/dns_exception.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exceptions/db_exception.h b/include/exceptions/db_exception.h index 93de0e2..295fdfc 100644 --- a/include/exceptions/db_exception.h +++ b/include/exceptions/db_exception.h @@ -16,7 +16,7 @@ class db_exception: public std::exception std::string msg; public: explicit db_exception(const std::string& msg): msg(msg) {} - virtual const char *what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT { return msg.c_str(); } + virtual const char *what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT override { return msg.c_str(); } }; #endif /* DB_EXCEPTION_H */ diff --git a/include/exceptions/dns_exception.h b/include/exceptions/dns_exception.h index 0f8df41..3b3e179 100644 --- a/include/exceptions/dns_exception.h +++ b/include/exceptions/dns_exception.h @@ -16,7 +16,7 @@ class dns_exception: public std::exception std::string msg; public: explicit dns_exception(const std::string& msg): msg(msg) {} - virtual const char *what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT { return msg.c_str(); } + virtual const char *what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT override { return msg.c_str(); } }; #endif /* DNS_EXCEPTION_H */ -- GitLab