From 1c437896826f145300c670f57feb751da1f74230 Mon Sep 17 00:00:00 2001 From: Daniel Frey Date: Fri, 25 Sep 2015 20:08:35 +0200 Subject: [PATCH] Remove superfluous inefficiency --- src/json.hpp.re2c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index af8ef8b7f7..01f03331dc 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -1683,7 +1683,6 @@ class basic_json AllocatorType alloc; alloc.destroy(m_value.object); alloc.deallocate(m_value.object, 1); - m_value.object = nullptr; break; } @@ -1692,7 +1691,6 @@ class basic_json AllocatorType alloc; alloc.destroy(m_value.array); alloc.deallocate(m_value.array, 1); - m_value.array = nullptr; break; } @@ -1701,7 +1699,6 @@ class basic_json AllocatorType alloc; alloc.destroy(m_value.string); alloc.deallocate(m_value.string, 1); - m_value.string = nullptr; break; }