From 7eff6df4dd95999aec223bb1b9d3c094e7187416 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 2 Oct 2016 02:03:59 +0200 Subject: [PATCH] Create converter_ in the constructor --- src/core/receiver/in_memory_configuration.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/receiver/in_memory_configuration.cc b/src/core/receiver/in_memory_configuration.cc index affec742f..e1983e617 100644 --- a/src/core/receiver/in_memory_configuration.cc +++ b/src/core/receiver/in_memory_configuration.cc @@ -36,7 +36,9 @@ #include "string_converter.h" InMemoryConfiguration::InMemoryConfiguration() -{} +{ + std::unique_ptr converter_(new StringConverter); +} InMemoryConfiguration::~InMemoryConfiguration()