mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fix: add one more file to list of non-backported (flat-database.h)
This commit is contained in:
parent
41f1a43236
commit
7aafb5a393
@ -117,9 +117,9 @@ private:
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
unsigned char pchMsgTmp[4];
|
||||
std::string strMagicMessageTmp;
|
||||
try {
|
||||
// de-serialize file header (file specific magic message) and ..
|
||||
ssObj >> strMagicMessageTmp;
|
||||
|
||||
@ -178,11 +178,11 @@ private:
|
||||
}
|
||||
|
||||
public:
|
||||
CFlatDB(std::string strFilenameIn, std::string strMagicMessageIn)
|
||||
CFlatDB(std::string&& strFilenameIn, std::string&& strMagicMessageIn) :
|
||||
pathDB{gArgs.GetDataDirNet() / strFilenameIn},
|
||||
strFilename{strFilenameIn},
|
||||
strMagicMessage{strMagicMessageIn}
|
||||
{
|
||||
pathDB = gArgs.GetDataDirNet() / strFilenameIn;
|
||||
strFilename = strFilenameIn;
|
||||
strMagicMessage = strMagicMessageIn;
|
||||
}
|
||||
|
||||
bool Load(T& objToLoad)
|
||||
@ -191,7 +191,7 @@ public:
|
||||
return Read(objToLoad);
|
||||
}
|
||||
|
||||
bool Store(T& objToSave)
|
||||
bool Store(const T& objToSave)
|
||||
{
|
||||
LogPrintf("Verifying %s format...\n", strFilename);
|
||||
T tmpObjToLoad;
|
||||
|
@ -9,6 +9,7 @@ src/coinjoin/*.h
|
||||
src/ctpl_stl.h
|
||||
src/cxxtimer.hpp
|
||||
src/dsnotificationinterface.*
|
||||
src/flat-database.h
|
||||
src/evo/*.cpp
|
||||
src/evo/*.h
|
||||
src/governance/*.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user