Skip to content

Commit

Permalink
Fixed compilation post-AI refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 22, 2016
1 parent cd2151a commit 34a0b81
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/ai/composite/rca.cpp
Expand Up @@ -120,11 +120,9 @@ bool candidate_action_factory::is_duplicate(const std::string& name)

//============================================================================

} // of namespace ai


std::ostream &operator<<(std::ostream &s, ai::candidate_action const &ca) {
s << "candidate action with name ["<< ca.get_name() <<"]";
return s;
}

} // of namespace ai
5 changes: 2 additions & 3 deletions src/ai/composite/rca.hpp
Expand Up @@ -192,13 +192,12 @@ class register_candidate_action_factory : public candidate_action_factory {
}
};


//============================================================================

} //end of namespace ai

std::ostream &operator<<(std::ostream &s, ai::candidate_action const &ca);

} //end of namespace ai

#ifdef _MSC_VER
#pragma warning(pop)
#endif
Expand Down
1 change: 1 addition & 0 deletions src/ai/testing/stage_rca.cpp
Expand Up @@ -23,6 +23,7 @@
#include "ai/composite/ai.hpp"
#include "ai/composite/engine.hpp"
#include "ai/composite/property_handler.hpp"
#include "ai/composite/rca.hpp"
#include "ai/gamestate_observer.hpp"
#include "log.hpp"

Expand Down

0 comments on commit 34a0b81

Please sign in to comment.