diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-02 02:13:59 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-06 09:12:37 +0200 |
commit | 280a8aca27af8cea3a532900809b251fa353cd52 (patch) | |
tree | ffaf41b4bbc185092fe157c332371cd8451ad85f /config | |
parent | 058c307d819e3955a39e01658c57e8c75b9dc6bb (diff) |
Include stringfmt where it was needed.
Diffstat (limited to 'config')
-rw-r--r-- | config/src/vespa/config/common/configparser.cpp | 7 | ||||
-rw-r--r-- | config/src/vespa/config/common/configparser.h | 6 | ||||
-rw-r--r-- | config/src/vespa/config/common/exceptions.cpp | 1 |
3 files changed, 7 insertions, 7 deletions
diff --git a/config/src/vespa/config/common/configparser.cpp b/config/src/vespa/config/common/configparser.cpp index fde55f257dc..e0a0b0138b9 100644 --- a/config/src/vespa/config/common/configparser.cpp +++ b/config/src/vespa/config/common/configparser.cpp @@ -1,9 +1,8 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/config/common/configparser.h> -#include <vespa/vespalib/stllike/string.h> -#include <vespa/vespalib/stllike/asciistream.h> -#include <stdio.h> + +#include "configparser.h" #include "misc.h" +#include <vespa/vespalib/stllike/asciistream.h> namespace config { diff --git a/config/src/vespa/config/common/configparser.h b/config/src/vespa/config/common/configparser.h index 3b1185a48fa..613dfc33d94 100644 --- a/config/src/vespa/config/common/configparser.h +++ b/config/src/vespa/config/common/configparser.h @@ -2,12 +2,12 @@ #pragma once #include <vespa/config/common/exceptions.h> +#include <vespa/vespalib/util/stringfmt.h> #include <map> #include <set> #include <vector> -#include <errno.h> -#include <stdint.h> -#include <vespa/vespalib/stllike/string.h> +#include <cerrno> +#include <cstdint> namespace config { diff --git a/config/src/vespa/config/common/exceptions.cpp b/config/src/vespa/config/common/exceptions.cpp index d19c27b5999..b5cbe7f0e06 100644 --- a/config/src/vespa/config/common/exceptions.cpp +++ b/config/src/vespa/config/common/exceptions.cpp @@ -1,6 +1,7 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "exceptions.h" +#include <vespa/vespalib/util/stringfmt.h> namespace config { |