mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix compiler warnings & linker errors:
Changes introduced with 1.7.0-b5 and 1.7.0-b6 could result in compiler warnings and/or linker errors when compiling in certain configurations.
This commit is contained in:
committed by
Nik Bougalis
parent
8e38d8e6f0
commit
e96a719724
@@ -108,6 +108,7 @@ public:
|
||||
SHAMapInnerNode(SHAMapInnerNode const&) = delete;
|
||||
SHAMapInnerNode&
|
||||
operator=(SHAMapInnerNode const&) = delete;
|
||||
~SHAMapInnerNode();
|
||||
|
||||
std::shared_ptr<SHAMapTreeNode>
|
||||
clone(std::uint32_t cowid) const override;
|
||||
|
||||
0
src/ripple/shamap/impl/CMakeLists.txt
Normal file
0
src/ripple/shamap/impl/CMakeLists.txt
Normal file
@@ -49,6 +49,8 @@ SHAMapInnerNode::SHAMapInnerNode(
|
||||
{
|
||||
}
|
||||
|
||||
SHAMapInnerNode::~SHAMapInnerNode() = default;
|
||||
|
||||
template <class F>
|
||||
void
|
||||
SHAMapInnerNode::iterChildren(F&& f) const
|
||||
|
||||
@@ -217,11 +217,6 @@ public:
|
||||
getChildIndex(std::uint16_t isBranch, int i) const;
|
||||
};
|
||||
|
||||
inline TaggedPointer::~TaggedPointer()
|
||||
{
|
||||
destroyHashesAndChildren();
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
|
||||
#endif
|
||||
|
||||
@@ -636,4 +636,9 @@ TaggedPointer::getChildren() const
|
||||
return result;
|
||||
};
|
||||
|
||||
inline TaggedPointer::~TaggedPointer()
|
||||
{
|
||||
destroyHashesAndChildren();
|
||||
}
|
||||
|
||||
} // namespace ripple
|
||||
|
||||
Reference in New Issue
Block a user