diff options
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r-- | libdbpp/error.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h index 3da6316..ab55524 100644 --- a/libdbpp/error.h +++ b/libdbpp/error.h @@ -3,10 +3,11 @@ #include <stdlib.h> #include <exception> +#include <visibility.h> namespace DB { - class Error : public virtual std::exception { }; - class ConnectionError : public Error { + class DLL_PUBLIC Error : public virtual std::exception { }; + class DLL_PUBLIC ConnectionError : public Error { public: ConnectionError(); ConnectionError(time_t); |