Merge pull request #464 from yvt/patch-1
Fix segfault caused by access to an uninitialized std::string
This commit is contained in:
commit
aeadee343b
@ -148,7 +148,6 @@ namespace spades {
|
||||
static spades::Settings::ItemHandle name ( # name , & name ## _desc )
|
||||
|
||||
#define SPADES_SETTING(name) \
|
||||
extern spades::SettingItemDescriptor name ## _desc; \
|
||||
static spades::Settings::ItemHandle name ( # name , & name ## _desc )
|
||||
static spades::Settings::ItemHandle name ( # name , nullptr )
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user