X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Foption%2Fhandles_int_value.cpp;h=a386c26c28596a0833e5cb6134b39feb95430d0b;hp=a6d9c46f51152b5d245817e999f4d75c00ecde1d;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/option/handles_int_value.cpp b/tests/option/handles_int_value.cpp index a6d9c46..a386c26 100644 --- a/tests/option/handles_int_value.cpp +++ b/tests/option/handles_int_value.cpp @@ -15,12 +15,12 @@ typedef int OptionType; OptionType test; -void function(OptionType value) { +void _function(OptionType value) { test = value; } int main() { - Option option(NAME, "Option as int", function); + Option option(NAME, "Option as int", _function); if (option.understand(OPTION)) { option.handle();