Skip to content

Commit

Permalink
Replace magic constant
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Oct 6, 2023
1 parent d0eed9c commit eebb4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/shared/protobuf_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]];
Expand Down

0 comments on commit eebb4e3

Please sign in to comment.