Skip to content

Commit

Permalink
fix: returned function
Browse files Browse the repository at this point in the history
  • Loading branch information
AsPJT committed Nov 17, 2024
1 parent 821f7e9 commit 55c92c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Library/PAX_SAPIENTICA/Simulation/Settlement.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,11 @@ namespace paxs {

/// @brief Marriage.
/// @brief 婚姻
template<typename Add_, typename Delete_>
//template<typename Add_, typename Delete_>
void marriage(std::vector<Settlement*> close_settlements,
//std::function<void(const paxs::SettlementAgent, const std::uint_least32_t, const Vector2)> add_agent,
//std::function<void(const std::uint64_t, const std::uint_least32_t, const Vector2)> delete_agent,
Add_ add_agent, Delete_ delete_agent,
std::function<void(const paxs::SettlementAgent, const std::uint_least32_t, const Vector2)> add_agent,
std::function<void(const std::uint64_t, const std::uint_least32_t, const Vector2)> delete_agent,
//Add_ add_agent, Delete_ delete_agent,
std::vector<GridType4>& marriage_pos_list
) noexcept {
// 結婚の条件を満たすエージェントを取得
Expand Down

0 comments on commit 55c92c1

Please sign in to comment.