Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7ffebe7dce |
@@ -25,7 +25,7 @@ struct WUUID {
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
#define wapp_uuid_gen_uuid4() ([&](){ \
|
||||
wapp_persist WUUID uuid = wapp_uuid_create(); \
|
||||
return *(wapp_uuid_init_uuid4(&uuid)) \
|
||||
return *(wapp_uuid_init_uuid4(&uuid)); \
|
||||
}())
|
||||
#else
|
||||
#define wapp_uuid_gen_uuid4() *(wapp_uuid_init_uuid4(&wapp_uuid_create()))
|
||||
|
||||
Reference in New Issue
Block a user