1
0
Fork 0
forked from blue/lmdbal

big refactoring part 1

This commit is contained in:
Blue 2023-03-20 18:37:13 +03:00
parent 6a8f67ac34
commit 19229f6c26
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
28 changed files with 867 additions and 795 deletions

View file

@ -14,16 +14,16 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef CORE_DATABASE_SERIALIZER_QSTRING_HPP
#define CORE_DATABASE_SERIALIZER_QSTRING_HPP
#ifndef LMDBDATABASE_SERIALIZER_QSTRING_HPP
#define LMDBDATABASE_SERIALIZER_QSTRING_HPP
#include <QString>
#include <QByteArray>
namespace LMDBDataBase {
template<>
class DataBase::Serializer<QString>
{
class Serializer<QString> {
public:
Serializer():value() {};
Serializer(const QString& p_value):value(p_value.toUtf8()) {};
@ -49,8 +49,9 @@ private:
QByteArray value;
};
}
#endif //CORE_DATABASE_SERIALIZER_QSTRING_HPP
#endif //LMDBDATABASE_SERIALIZER_QSTRING_HPP