X-Git-Url: https://git.dlugolecki.net.pl/?p=command.git;a=blobdiff_plain;f=tests%2Fcallable%2Finvokes_void_function.cpp;h=bf881d0f5b5d7e64a5e6fedafedeec552048fc4a;hp=f0e46714db67a178f2837b14a803efeed9397c7d;hb=ae6743a2a2c69b7a927f64ff1d3abf38a5e7d4bc;hpb=948c501fbb8d47898a9c92697327c5ffa70a898f diff --git a/tests/callable/invokes_void_function.cpp b/tests/callable/invokes_void_function.cpp index f0e4671..bf881d0 100644 --- a/tests/callable/invokes_void_function.cpp +++ b/tests/callable/invokes_void_function.cpp @@ -9,12 +9,12 @@ using namespace command; bool test = false; -void function(void) { +void _function(void) { test = true; }; int main() { - TestCallable callable(function); + TestCallable callable(_function); callable.callFunction(); if (test == true) {