mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[poincare] Remove implementation of TreePool::numberOfNodes from flags
This commit is contained in:
@@ -144,6 +144,8 @@ void TreePool::treeLog(std::ostream & stream) {
|
||||
stream << std::endl;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
int TreePool::numberOfNodes() const {
|
||||
int count = 0;
|
||||
TreeNode * firstNode = first();
|
||||
@@ -155,8 +157,6 @@ int TreePool::numberOfNodes() const {
|
||||
return count;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void * TreePool::alloc(size_t size) {
|
||||
if (m_cursor >= m_buffer + BufferSize || m_cursor + size > m_buffer + BufferSize) {
|
||||
ExceptionCheckpoint::Raise();
|
||||
|
||||
Reference in New Issue
Block a user