From eebb4e3a8ec87ef6b9abd14c5b6bd0d5c7c2c06b Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Fri, 6 Oct 2023 12:36:43 +0200 Subject: [PATCH] Replace magic constant --- cpp/shared/protobuf_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/shared/protobuf_util.cpp b/cpp/shared/protobuf_util.cpp index cfd382404e..0005837b8e 100644 --- a/cpp/shared/protobuf_util.cpp +++ b/cpp/shared/protobuf_util.cpp @@ -48,7 +48,7 @@ void protobuf_util::SetCommandParams(PbCommand& command, const string& params) string file_pattern; string operations; - switch (const auto& components = Split(params, ':', 3); components.size()) { + switch (const auto& components = Split(params, COMPONENT_SEPARATOR, 3); components.size()) { case 3: operations = components[2]; [[fallthrough]];