Fixed compilation post-AI refactor

This commit is contained in:
Charles Dang 2016-03-23 01:57:35 +11:00
parent cd2151ac1f
commit 34a0b8197b
3 changed files with 4 additions and 6 deletions

View file

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

View file

@ -192,13 +192,12 @@ public:
}
};
//============================================================================
} //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

View file

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