Skip to content

Commit

Permalink
Changed name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Rusin committed Jan 3, 2024
1 parent fb66ea4 commit 83d251e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ioh/common/factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ namespace ioh::problem
namespace ioh::common
{

void printStackTrace() {
void printStackTraceHasAlreadyBeenDefined() {
const int MAX_CALLSTACK_SIZE = 128;
void *callstack[MAX_CALLSTACK_SIZE];
int stackSize = backtrace(callstack, MAX_CALLSTACK_SIZE);
Expand Down Expand Up @@ -153,7 +153,7 @@ namespace ioh::common
std::cerr << error_message << std::endl;
std::cout << error_message << std::endl;

printStackTrace();
printStackTraceHasAlreadyBeenDefined();

assert(!already_defined && name.c_str());
}
Expand Down

0 comments on commit 83d251e

Please sign in to comment.