DB::loadBlock copy removal & DB backend cleanup 4125/head
authorLoic Blot <loic.blot@unix-experience.fr>
Sat, 14 May 2016 10:23:15 +0000 (12:23 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Tue, 17 May 2016 04:52:16 +0000 (06:52 +0200)
commit143401451c457da5079b2970fe260acea45bd85a
tree390c729ba28f974bf422d441dfd8dd7e817e4127
parentdecbd396df0855f0a356c836cf7c0c5b133964cf
DB::loadBlock copy removal & DB backend cleanup
* Remove the copy from db::loadBlock by using a pointer to the destination
* cleanup db backend, the child backend doesn't have to set their functions as virtual
src/database-dummy.cpp
src/database-dummy.h
src/database-leveldb.cpp
src/database-leveldb.h
src/database-redis.cpp
src/database-redis.h
src/database-sqlite3.cpp
src/database-sqlite3.h
src/database.h
src/main.cpp
src/map.cpp