X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=tests%2Fcallable%2Finvokes_provided_function.cpp;h=b722fbeb93120d010383817153d5a04643fb49e2;hb=e0fda02032d7d502e57e24eb218da9e24155541a;hp=5defb08cb1d2a790bd38274ac1cf0e89099452ae;hpb=254fa86ed70ecceab3ed3b91470d15e672783ee4;p=command.git diff --git a/tests/callable/invokes_provided_function.cpp b/tests/callable/invokes_provided_function.cpp index 5defb08..b722fbe 100644 --- a/tests/callable/invokes_provided_function.cpp +++ b/tests/callable/invokes_provided_function.cpp @@ -9,12 +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) {