From 52a392e66922f53b4de4890256f4fb4f79438759 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Fri, 14 Feb 2014 18:09:10 +1100 Subject: [PATCH] Corrected the base construction in the pcp::exception copy constructor. --- include/pcp-cpp/exception.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/pcp-cpp/exception.hpp b/include/pcp-cpp/exception.hpp index 8474a04..c387598 100644 --- a/include/pcp-cpp/exception.hpp +++ b/include/pcp-cpp/exception.hpp @@ -34,7 +34,8 @@ class exception : public std::exception { } exception(const pcp::exception &other) - : pm_error_code(other.error_code()), + : std::exception(other), + pm_error_code(other.error_code()), message(other.what()) { }