diff --git a/libretroshare/src/util/rsmemory.h b/libretroshare/src/util/rsmemory.h index 7b475bcaf..8bbbc335a 100644 --- a/libretroshare/src/util/rsmemory.h +++ b/libretroshare/src/util/rsmemory.h @@ -60,7 +60,7 @@ bool myFunnyFunction( * passed, so any effect on performace would happen only in case where the * function is called without the parameter. */ -#define RS_DEFAULT_STORAGE_PARAM(Type) *std::unique_ptr(new Type) +#define RS_DEFAULT_STORAGE_PARAM(Type,...) *std::unique_ptr(new Type(__VA_ARGS__)) void *rs_malloc(size_t size) ;