mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[poincare] Remove ostream and iostream header inclusions and keep them precisely where needed
This commit is contained in:
committed by
Émilie Feral
parent
b05202f2ec
commit
8e71e03b6e
@@ -7,7 +7,6 @@
|
||||
#include <string.h>
|
||||
#include <new>
|
||||
#if POINCARE_TREE_LOG
|
||||
#include <ostream>
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -18,9 +18,6 @@ extern "C" {
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
}
|
||||
#if POINCARE_INTEGER_LOG
|
||||
#include<iostream>
|
||||
#endif
|
||||
#include <algorithm>
|
||||
|
||||
namespace Poincare {
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
#include <poincare_nodes.h>
|
||||
#include <poincare_layouts.h>
|
||||
#include <poincare/ghost.h>
|
||||
#if POINCARE_TREE_LOG
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
namespace Poincare {
|
||||
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
#include <poincare/tree_pool.h>
|
||||
#include <quiz.h>
|
||||
|
||||
#if POINCARE_TREE_LOG
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
int pool_size() {
|
||||
return Poincare::TreePool::sharedPool()->numberOfNodes();
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
#if POINCARE_TREE_LOG
|
||||
#include <iostream>
|
||||
#endif
|
||||
|
||||
int pool_size();
|
||||
void assert_pool_size(int i);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user