Skip to content

Commit

Permalink
Add missing header
Browse files Browse the repository at this point in the history
Also change '\n' to std::endl
  • Loading branch information
gtremper committed Jun 17, 2015
1 parent 8b27e5c commit d285ad2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/autowiring/AutowiringDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,13 @@ void PrintContextTreeRecursive(std::ostream& os, std::shared_ptr<CoreContext> ct
if (ctxt == curCtxt) {
os << "(Current Context)";
}
os << "\n";
os << std::endl;
PrintContextTreeRecursive(os, ctxt->FirstChild());
}
}

void autowiring::dbg::PrintContextTree(std::ostream& os) {
PrintContextTreeRecursive(os, AutoGlobalContext());
os << std::flush;
}

AutoPacket* autowiring::dbg::CurrentPacket(void) {
Expand Down
1 change: 1 addition & 0 deletions src/autowiring/test/AutowiringDebugTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <autowiring/autowiring.h>
#include <autowiring/AutowiringDebug.h>
#include "TestFixtures/Decoration.hpp"
#include <algorithm>

class AutowiringDebugTest:
public testing::Test
Expand Down

0 comments on commit d285ad2

Please sign in to comment.