forked from blue/lmdbal
some tuning, specializations, basic testing
This commit is contained in:
parent
5f90a21fe6
commit
047f96b54a
17 changed files with 370 additions and 508 deletions
|
@ -16,6 +16,18 @@
|
|||
|
||||
#include "exceptions.h"
|
||||
|
||||
DataBase::Exception::Exception():
|
||||
std::exception()
|
||||
{}
|
||||
|
||||
DataBase::Exception::~Exception() {}
|
||||
|
||||
const char* DataBase::Exception::what() const noexcept( true )
|
||||
{
|
||||
std::string* msg = new std::string(getMessage());
|
||||
return msg->c_str();
|
||||
}
|
||||
|
||||
DataBase::Directory::Directory(const std::string& p_path):
|
||||
Exception(),
|
||||
path(p_path) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue