summaryrefslogtreecommitdiff
path: root/libsqlitepp/error.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:13:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:13:24 +0000
commit5dd91c7b80443c1f0e747088159c4d8b78d1856d (patch)
tree226331b6026e722f6a69765963ff19a9436155c1 /libsqlitepp/error.cpp
parentUse parent glibmm (diff)
downloadlibdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.tar.bz2
libdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.tar.xz
libdbpp-sqlite-5dd91c7b80443c1f0e747088159c4d8b78d1856d.zip
SQLite files prefixed with sqlite-
Diffstat (limited to 'libsqlitepp/error.cpp')
-rw-r--r--libsqlitepp/error.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/libsqlitepp/error.cpp b/libsqlitepp/error.cpp
deleted file mode 100644
index 9bdf80b..0000000
--- a/libsqlitepp/error.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "error.h"
-#include <string.h>
-
-SQLite::Error::Error() :
- msg(NULL)
-{
-}
-
-SQLite::Error::Error(const SQLite::Error & e) :
- msg(e.msg ? strdup(e.msg) : NULL)
-{
-}
-
-SQLite::Error::Error(const char * e) :
- msg(e ? strdup(e) : NULL)
-{
-}
-
-SQLite::Error::~Error() throw()
-{
- free(msg);
-}
-
-const char *
-SQLite::Error::what() const throw()
-{
- return msg ? msg : "No message";
-}
-