Skip to content

Commit ba06b06

Browse files
authored
Fix duplicate symbol error by making error_message static (#22)
1 parent 6dce9ce commit ba06b06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/OpenRenderBoxCxx/Util/assert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <OpenRenderBoxCxx/Util/assert.hpp>
66
#include <OpenRenderBoxCxx/Util/log.hpp>
77

8-
char* error_message = nullptr;
8+
static char* error_message = nullptr;
99

1010
namespace ORB {
1111
void precondition_failure(const char *format, ...) {

0 commit comments

Comments
 (0)