Skip to content

Commit 88c3b6f

Browse files
committed
Make trim checks inline
1 parent d02efe8 commit 88c3b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/chain.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ class CBlockIndex
217217
m_signblock_witness = std::nullopt;
218218
}
219219

220-
bool trimmed() const {
220+
inline bool trimmed() const {
221221
return m_trimmed;
222222
}
223223

224-
void assert_untrimmed() const {
224+
inline void assert_untrimmed() const {
225225
assert(!m_trimmed);
226226
}
227227

0 commit comments

Comments
 (0)