X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=tests%2Fcallable%2Finvokes_provided_function.cpp;h=b722fbeb93120d010383817153d5a04643fb49e2;hb=e0fda02032d7d502e57e24eb218da9e24155541a;hp=7322da546907379b60858267d6164225c6db2fef;hpb=d4b5ce7fcb3c7ffcfbdc28684a66f0b21b7ec446;p=command.git diff --git a/tests/callable/invokes_provided_function.cpp b/tests/callable/invokes_provided_function.cpp index 7322da5..b722fbe 100644 --- a/tests/callable/invokes_provided_function.cpp +++ b/tests/callable/invokes_provided_function.cpp @@ -9,13 +9,12 @@ using namespace command; bool test = false; -void function(bool val) { +void _function(bool val) { test = val; }; int main() { - - TestCallable callable(function); + TestCallable callable(_function); callable.callFunction(true); if (test == true) {