From f3e856daf41c6907a8e4c610d8d1135474b28d09 Mon Sep 17 00:00:00 2001 From: Maksim Andrianov Date: Fri, 22 Jun 2018 15:07:01 +0300 Subject: [PATCH] Fixed warn: subobject-linkage --- generator/osm_o5m_source.hpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/generator/osm_o5m_source.hpp b/generator/osm_o5m_source.hpp index c5f924ccd3..aec6d60a3e 100644 --- a/generator/osm_o5m_source.hpp +++ b/generator/osm_o5m_source.hpp @@ -2,6 +2,7 @@ #pragma once #include "base/stl_helpers.hpp" +#include "base/assert.hpp" #include #include @@ -14,10 +15,9 @@ #include #include -using TReadFunc = std::function; - -namespace +namespace osm { +using TReadFunc = std::function; class StreamBuffer { @@ -108,10 +108,7 @@ private: m_position = m_buffer.begin(); } }; -} // anonymous namespace -namespace osm -{ class O5MSource {