mirror of
https://github.com/nlohmann/json.git
synced 2026-07-30 23:53:02 +04:00
cleanup
This commit is contained in:
+1
-1
@@ -586,7 +586,7 @@ class basic_json
|
||||
private:
|
||||
/// helper for exception-safe object creation
|
||||
template<typename T, typename... Args>
|
||||
static T* create( Args&& ... args )
|
||||
static T* create(Args&& ... args)
|
||||
{
|
||||
AllocatorType<T> alloc;
|
||||
auto deleter = [&](T * object)
|
||||
|
||||
+1
-1
@@ -589,7 +589,7 @@ class basic_json
|
||||
static T* create(Args&& ... args)
|
||||
{
|
||||
AllocatorType<T> alloc;
|
||||
auto deleter = [&](T* object)
|
||||
auto deleter = [&](T * object)
|
||||
{
|
||||
alloc.deallocate(object, 1);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user