forked from blue/lmdbal
big refactoring part 1
This commit is contained in:
parent
6a8f67ac34
commit
19229f6c26
28 changed files with 867 additions and 795 deletions
|
@ -14,13 +14,15 @@
|
|||
// 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 LMDBDATABASE_SERIALIZER_UINT64_HPP
|
||||
#define LMDBDATABASE_SERIALIZER_UINT64_HPP
|
||||
|
||||
#ifndef CORE_DATABASE_SERIALIZER_UINT64_HPP
|
||||
#define CORE_DATABASE_SERIALIZER_UINT64_HPP
|
||||
#include <stdint.h>
|
||||
|
||||
namespace LMDBDataBase {
|
||||
|
||||
template<>
|
||||
class DataBase::Serializer<uint64_t>
|
||||
{
|
||||
class Serializer<uint64_t> {
|
||||
public:
|
||||
Serializer():value(0) {};
|
||||
Serializer(const uint64_t& p_value):value(p_value) {};
|
||||
|
@ -46,6 +48,7 @@ private:
|
|||
uint64_t value;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif //CORE_DATABASE_SERIALIZER_UINT64_HPP
|
||||
#endif //LMDBDATABASE_SERIALIZER_UINT64_HPP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue