From 5dd91c7b80443c1f0e747088159c4d8b78d1856d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 04:13:24 +0000 Subject: SQLite files prefixed with sqlite- --- libsqlitepp/error.cpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 libsqlitepp/error.cpp (limited to 'libsqlitepp/error.cpp') 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 - -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"; -} - -- cgit v1.2.3