summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-18 11:52:57 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-11-18 11:52:57 +0100
commit969e6efcaae5cbaf05ea3788aefa4ceab30e321a (patch)
treee14e4bf1053444f26df0145da4efc3c53b18b81b /config
parent1cac46a96fe85d5c879f14749584bd19b41b5ca5 (diff)
Avoid including iostream in header files.
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/print/fileconfigreader.h2
-rw-r--r--config/src/vespa/config/print/fileconfigreader.hpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/config/src/vespa/config/print/fileconfigreader.h b/config/src/vespa/config/print/fileconfigreader.h
index 86ab43dcfc5..6b5f14b4318 100644
--- a/config/src/vespa/config/print/fileconfigreader.h
+++ b/config/src/vespa/config/print/fileconfigreader.h
@@ -1,8 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <sstream>
-#include <fstream>
#include <vespa/vespalib/stllike/asciistream.h>
#include <vespa/config/common/misc.h>
#include <vespa/config/common/configvalue.h>
diff --git a/config/src/vespa/config/print/fileconfigreader.hpp b/config/src/vespa/config/print/fileconfigreader.hpp
index 4731b62047a..d5603794539 100644
--- a/config/src/vespa/config/print/fileconfigreader.hpp
+++ b/config/src/vespa/config/print/fileconfigreader.hpp
@@ -1,5 +1,8 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#include <fstream>
+#include <sstream>
+
namespace config {
template <typename ConfigType>