X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Fcallable%2Finvokes_provided_function.cpp;h=b722fbeb93120d010383817153d5a04643fb49e2;hp=5defb08cb1d2a790bd38274ac1cf0e89099452ae;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f 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) {