1
0
Fork 0
forked from blue/lmdbal

some tuning, specializations, basic testing

This commit is contained in:
Blue 2022-09-16 00:34:39 +03:00
parent 5f90a21fe6
commit 047f96b54a
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
17 changed files with 370 additions and 508 deletions

View file

@ -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) {}