X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Fargument%2Fhandles_int_value.cpp;h=4295286063ed4c9ef192c6b363a09040426cb835;hp=ffe130c83cd30549951f3ab306424d41bc65f800;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/argument/handles_int_value.cpp b/tests/argument/handles_int_value.cpp index ffe130c..4295286 100644 --- a/tests/argument/handles_int_value.cpp +++ b/tests/argument/handles_int_value.cpp @@ -12,12 +12,12 @@ typedef int ArgumentType; ArgumentType test; -void function(ArgumentType value) { +void _function(ArgumentType value) { test = value; } int main() { - Argument argument("Argument as int", function); + Argument argument("Argument as int", _function); if (argument.understand(VALUE)) { argument.handle();