Missing initialisattion of DCPReadError::_message.
authorCarl Hetherington <cth@carlh.net>
Tue, 28 Aug 2018 20:48:30 +0000 (21:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 28 Aug 2018 20:52:32 +0000 (21:52 +0100)
src/exceptions.h

index 2871ee86598f7696373ca452ec2ee26e8c5d9c39..8bc6e55054e58662c4756cfafa97b0003dc4417f 100644 (file)
@@ -99,6 +99,7 @@ class DCPReadError : public std::runtime_error
 public:
        explicit DCPReadError (std::string message)
                : std::runtime_error(message)
+               , _message(message)
        {}
 
        DCPReadError (std::string message, std::string detail);