From 1b5e43fa7750cc4025d32f18390593cbce3ba842 Mon Sep 17 00:00:00 2001 From: hop311 Date: Sun, 29 Oct 2023 14:11:10 +0000 Subject: Clang-format formatting (with manual cleanup) --- src/openvic-simulation/military/Deployment.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/openvic-simulation/military/Deployment.cpp') diff --git a/src/openvic-simulation/military/Deployment.cpp b/src/openvic-simulation/military/Deployment.cpp index 441142d..5b3aa77 100644 --- a/src/openvic-simulation/military/Deployment.cpp +++ b/src/openvic-simulation/military/Deployment.cpp @@ -6,10 +6,9 @@ using namespace OpenVic; using namespace OpenVic::NodeTools; Deployment::Deployment( - std::string_view new_path, std::vector&& new_armies, - std::vector&& new_navies, std::vector&& new_leaders -) : HasIdentifier { new_path }, armies { std::move(new_armies) }, - navies { std::move(new_navies) }, leaders { std::move(new_leaders) } {} + std::string_view new_path, std::vector&& new_armies, std::vector&& new_navies, std::vector&& new_leaders +) : HasIdentifier { new_path }, armies { std::move(new_armies) }, navies { std::move(new_navies) }, + leaders { std::move(new_leaders) } {} const std::vector& Deployment::get_armies() const { return armies; @@ -25,8 +24,9 @@ const std::vector& Deployment::get_leaders() const { DeploymentManager::DeploymentManager() : deployments { "deployments" } {} -bool DeploymentManager::add_deployment(std::string_view path, std::vector&& armies, - std::vector&& navies, std::vector&& leaders) { +bool DeploymentManager::add_deployment( + std::string_view path, std::vector&& armies, std::vector&& navies, std::vector&& leaders +) { if (path.empty()) { Logger::error("Attemped to load order of battle with no path! Something is very wrong!"); return false; -- cgit v1.2.3-56-ga3b1