Skip to content

Commit

Permalink
Fixed error in the module name extraction macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
cguebert committed Dec 12, 2015
1 parent 9adb97b commit 1d603a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/panda/ObjectFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class PANDA_CORE_API RegisterModule

#define EXPAND_MACRO(x) STRINGIFY_MACRO(x)
#define STRINGIFY_MACRO(x) #x
#define REGISTER_MODULE panda::RegisterModule(EXPAND_MACRO(TARGET_FILE))
#define REGISTER_MODULE panda::RegisterModule(EXPAND_MACRO(TARGET))

// This class is used by RegisterModule to automatically unregister a module when unloading a library
class PANDA_CORE_API ModuleHandle
Expand Down

0 comments on commit 1d603a3

Please sign in to comment.