summaryrefslogtreecommitdiff
path: root/libdbpp/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r--libdbpp/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h
index bcb641d..99a28cb 100644
--- a/libdbpp/error.h
+++ b/libdbpp/error.h
@@ -32,8 +32,8 @@ namespace DB {
private:
std::string message() const throw() override;
- const char * from;
- const char * to;
+ const std::string from;
+ const std::string to;
};
class DLL_PUBLIC UnexpectedNullValue : public AdHoc::Exception<Error> {