X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Fargument%2Fhandles_float_value.cpp;h=f757a84f1e7c20e63a2b6261654c8fd3798bdcd9;hp=9e53dc8d5b276f2d1cd9c11836ecab632f5a1492;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/argument/handles_float_value.cpp b/tests/argument/handles_float_value.cpp index 9e53dc8..f757a84 100644 --- a/tests/argument/handles_float_value.cpp +++ b/tests/argument/handles_float_value.cpp @@ -11,12 +11,12 @@ typedef float ArgumentType; ArgumentType test; -void function(ArgumentType value) { +void _function(ArgumentType value) { test = value; } int main() { - Argument argument("Argument as float", function); + Argument argument("Argument as float", _function); if (argument.understand(VALUE)) { argument.handle();