summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 00:17:46 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-30 00:17:46 +0200
commitac40360439b406d700c417076ec169f509468269 (patch)
tree5f41d4445fc398aa360810de0df9ee3a8c8a7aa2 /vespalib
parentb5434960947f06f914569324d0b5e803eb7d4eef (diff)
Reduce exposure of fastos.h and frt.h.
Only include what you need where you need it.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/hashmap.h6
-rw-r--r--vespalib/src/vespa/vespalib/util/hashmapdata.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/vespalib/src/vespa/vespalib/util/hashmap.h b/vespalib/src/vespa/vespalib/util/hashmap.h
index f357ab6cf04..cbaa9540878 100644
--- a/vespalib/src/vespa/vespalib/util/hashmap.h
+++ b/vespalib/src/vespa/vespalib/util/hashmap.h
@@ -1,11 +1,9 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <inttypes.h>
-#include <string.h>
-#include <stdlib.h>
-
#include "hashmapdata.h"
+#include <cstring>
+#include <cstdlib>
/**
* @brief namespace for generic Vespa library
diff --git a/vespalib/src/vespa/vespalib/util/hashmapdata.h b/vespalib/src/vespa/vespalib/util/hashmapdata.h
index 42110246be2..e887e12d245 100644
--- a/vespalib/src/vespa/vespalib/util/hashmapdata.h
+++ b/vespalib/src/vespa/vespalib/util/hashmapdata.h
@@ -1,7 +1,7 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
-#include <inttypes.h>
+#include <cstdint>
namespace vespalib {