Exceptions in libcvd do not derive from std::exception, and the CVD exception hierarchy is inconsistently used. This change makes the CVD exception hierarchy derive from std::runtime_error, and fixes up an exception that does not derive correctly.
This change also fixes up a couple of conformance issues necessary to use this correctly on modern compilers.
Exceptions in
libcvd
do not derive fromstd::exception
, and the CVD exception hierarchy is inconsistently used. This change makes the CVD exception hierarchy derive fromstd::runtime_error
, and fixes up an exception that does not derive correctly.This change also fixes up a couple of conformance issues necessary to use this correctly on modern compilers.