diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-29 19:44:18 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-03-29 19:44:18 +0200 |
commit | b6a0253e175f90314a43926e1e53ec71328401c9 (patch) | |
tree | 0630b1239f93274b0f139751d2f38824f76cc2c7 /document | |
parent | 0df5f285e95aa12c8826747c783499f5cb0989b7 (diff) |
Optimize includes.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/tests/documentidtest.cpp | 3 | ||||
-rw-r--r-- | document/src/vespa/document/base/documentid.h | 4 | ||||
-rw-r--r-- | document/src/vespa/document/base/idstring.cpp | 5 |
3 files changed, 3 insertions, 9 deletions
diff --git a/document/src/tests/documentidtest.cpp b/document/src/tests/documentidtest.cpp index 2e3300b692c..b670386012b 100644 --- a/document/src/tests/documentidtest.cpp +++ b/document/src/tests/documentidtest.cpp @@ -1,13 +1,10 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> #include <cppunit/extensions/HelperMacros.h> #include <vespa/document/serialization/vespadocumentdeserializer.h> #include <vespa/document/serialization/vespadocumentserializer.h> #include <vespa/vespalib/objects/nbostream.h> #include <vespa/vespalib/testkit/test_kit.h> -#include <sstream> -#include <string> #include <vespa/document/bucket/bucketidfactory.h> #include <vespa/document/base/documentid.h> #include <vespa/document/datatype/documenttype.h> diff --git a/document/src/vespa/document/base/documentid.h b/document/src/vespa/document/base/documentid.h index 86d58d68601..858fdf56dde 100644 --- a/document/src/vespa/document/base/documentid.h +++ b/document/src/vespa/document/base/documentid.h @@ -19,8 +19,8 @@ #pragma once -#include <vespa/document/base/idstring.h> -#include <vespa/document/base/globalid.h> +#include "idstring.h" +#include "globalid.h" #include <vespa/document/util/printable.h> namespace vespalib { class nbostream; } diff --git a/document/src/vespa/document/base/idstring.cpp b/document/src/vespa/document/base/idstring.cpp index c2eaf96ea2e..f5f9f7377b5 100644 --- a/document/src/vespa/document/base/idstring.cpp +++ b/document/src/vespa/document/base/idstring.cpp @@ -1,11 +1,8 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "idstring.h" -#include <vespa/vespalib/util/md5.h> -#include <cstdlib> #include <vespa/document/bucket/bucketid.h> -#include <vespa/vespalib/util/vstringfmt.h> -#include <vespa/vespalib/util/optimized.h> +#include <vespa/vespalib/util/md5.h> using vespalib::string; using vespalib::stringref; |