[poincare] Remove ostream and iostream header inclusions and keep them precisely where needed

This commit is contained in:
Ruben Dashyan
2020-02-13 14:24:08 +01:00
committed by Émilie Feral
parent b05202f2ec
commit 8e71e03b6e
5 changed files with 0 additions and 15 deletions

View File

@@ -7,7 +7,6 @@
#include <string.h>
#include <new>
#if POINCARE_TREE_LOG
#include <ostream>
#include <iostream>
#endif

View File

@@ -18,9 +18,6 @@ extern "C" {
#include <string.h>
#include <assert.h>
}
#if POINCARE_INTEGER_LOG
#include<iostream>
#endif
#include <algorithm>
namespace Poincare {

View File

@@ -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 {

View File

@@ -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();
}

View File

@@ -1,7 +1,3 @@
#if POINCARE_TREE_LOG
#include <iostream>
#endif
int pool_size();
void assert_pool_size(int i);