diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-18 11:52:57 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-18 11:52:57 +0100 |
commit | 969e6efcaae5cbaf05ea3788aefa4ceab30e321a (patch) | |
tree | e14e4bf1053444f26df0145da4efc3c53b18b81b /config/src | |
parent | 1cac46a96fe85d5c879f14749584bd19b41b5ca5 (diff) |
Avoid including iostream in header files.
Diffstat (limited to 'config/src')
-rw-r--r-- | config/src/vespa/config/print/fileconfigreader.h | 2 | ||||
-rw-r--r-- | config/src/vespa/config/print/fileconfigreader.hpp | 3 |
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> |