Fix build
This commit is contained in:
parent
51e9ac39d2
commit
fe1383b4ff
@ -69,6 +69,9 @@ private:
|
||||
std::shared_ptr<EncryptionKeyData> _key;
|
||||
};
|
||||
|
||||
template<size_t KeySize> constexpr size_t EncryptionKey<KeySize>::BINARY_LENGTH;
|
||||
template<size_t KeySize> constexpr size_t EncryptionKey<KeySize>::STRING_LENGTH;
|
||||
|
||||
template<size_t KeySize>
|
||||
inline EncryptionKey<KeySize>::EncryptionKeyData::EncryptionKeyData(const FixedSizeData<KeySize>& keyData)
|
||||
: key(keyData)
|
||||
|
@ -58,7 +58,7 @@ set<Key> _getBlockstoreUnaccountedBlocks(const CryConfig &config) {
|
||||
i = 0;
|
||||
cout << "\nRemove blocks that have a parent" << endl;
|
||||
//Remove root block from unaccountedBlocks
|
||||
unaccountedBlocks.erase(Key::FrComString(config.RootBlob()));
|
||||
unaccountedBlocks.erase(Key::FromString(config.RootBlob()));
|
||||
//Remove all blocks that have a parent node from unaccountedBlocks
|
||||
for (auto file = directory_iterator("/home/heinzi/basedir"); file != directory_iterator(); ++file) {
|
||||
cout << "\r" << (++i) << "/" << numBlocks << flush;
|
||||
@ -148,4 +148,4 @@ int main() {
|
||||
}
|
||||
}
|
||||
cout << "\n" << numLeaves << " leaves and " << numInner << " inner nodes" << endl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user