diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-05 02:32:06 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-23 02:03:47 +0200 |
commit | b57308e4a134fb6139d2cb52a031d3e7185f16cf (patch) | |
tree | 7c31d445e2f76bb737ef90ce29e0e7e6738d6eb1 /staging_vespalib/src/tests/fileheader/fileheader_test.cpp | |
parent | 40b8ba5a3f34028d208d4e0dc1b46940d6fe5a47 (diff) |
Use override
Diffstat (limited to 'staging_vespalib/src/tests/fileheader/fileheader_test.cpp')
-rw-r--r-- | staging_vespalib/src/tests/fileheader/fileheader_test.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/staging_vespalib/src/tests/fileheader/fileheader_test.cpp b/staging_vespalib/src/tests/fileheader/fileheader_test.cpp index f2a6c8402ee..55ca571cdac 100644 --- a/staging_vespalib/src/tests/fileheader/fileheader_test.cpp +++ b/staging_vespalib/src/tests/fileheader/fileheader_test.cpp @@ -1,10 +1,8 @@ // 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 <vespa/log/log.h> -LOG_SETUP("fileheader_test"); #include <vespa/vespalib/testkit/testapp.h> #include <vespa/vespalib/data/fileheader.h> +#include <vespa/fastos/file.h> #include <iostream> using namespace vespalib; @@ -29,15 +27,9 @@ private: void testRewriteErrors(); void testLayout(); - void - testReadSize(bool mapped); - - void - testReadSizeErrors(bool mapped); - - bool - testReadSizeError(DataBuffer &buf, const std::string &expected, - bool mapped); + void testReadSize(bool mapped); + void testReadSizeErrors(bool mapped); + bool testReadSizeError(DataBuffer &buf, const std::string &expected, bool mapped); public: int Main() override { |