X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2FmultiValue%2Fshould_extract_arguments_by_separator.cpp;h=4b0c1ec84311e375efa8297b0642744732120f08;hp=8b5e5e3f918a1a480bcb6c1c0ca49f1f3151adad;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/multiValue/should_extract_arguments_by_separator.cpp b/tests/multiValue/should_extract_arguments_by_separator.cpp index 8b5e5e3..4b0c1ec 100644 --- a/tests/multiValue/should_extract_arguments_by_separator.cpp +++ b/tests/multiValue/should_extract_arguments_by_separator.cpp @@ -13,13 +13,13 @@ typedef int ArgumentType; std::vector input; -void function(ArgumentType value) { +void _function(ArgumentType value) { input.push_back(value); cout << "Catched value: " << value << "\n"; } int main() { - Parameter * argument = new MultiValue(",", new Argument("Argument as multiValue int", function)); + Parameter * argument = new MultiValue(",", new Argument("Argument as multiValue int", _function)); try { if (argument->understand(VALUE)) {