Commit 0db0e950 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Sqlite: Fix exceptions class inheritance

parent 36670ccc
......@@ -142,7 +142,7 @@ struct Traits<T, typename std::enable_if<IsSameDecay<T, int64_t>::value>::type>
namespace errors
{
class ConstraintViolation : std::exception
class ConstraintViolation : public std::exception
{
public:
ConstraintViolation( const std::string& req, const std::string& err )
......@@ -159,7 +159,7 @@ private:
std::string m_reason;
};
class ColumnOutOfRange : std::exception
class ColumnOutOfRange : public std::exception
{
public:
ColumnOutOfRange( unsigned int idx, unsigned int nbColumns )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment