diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-29 00:53:10 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-29 00:53:10 +0200 |
commit | 1ebf4beb3c6f0c1646a46983ef85964c5e165c3b (patch) | |
tree | 422dd054fa151c3c7eb16ca6cb45738c19ed02f5 /vespamalloc/src/tests/thread/thread.cpp | |
parent | 97aaf8fb695c5f010b789b85f68c5ec4982ed45f (diff) |
Add override
Diffstat (limited to 'vespamalloc/src/tests/thread/thread.cpp')
-rw-r--r-- | vespamalloc/src/tests/thread/thread.cpp | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/vespamalloc/src/tests/thread/thread.cpp b/vespamalloc/src/tests/thread/thread.cpp index 6261a0f8eb6..9053a435d11 100644 --- a/vespamalloc/src/tests/thread/thread.cpp +++ b/vespamalloc/src/tests/thread/thread.cpp @@ -1,17 +1,7 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <unistd.h> -#include <pthread.h> -#include <stdint.h> -#include <errno.h> -#include <vespa/vespalib/util/atomic.h> -#include <sys/resource.h> -#include <vespa/vespalib/testkit/testapp.h> -#include <vespa/log/log.h> -LOG_SETUP("thread_test"); +#include <vespa/vespalib/testkit/testapp.h> +#include <vespa/vespalib/util/atomic.h> using namespace vespalib; @@ -21,7 +11,7 @@ public: ~Test(); int Main() override; private: - virtual bool useIPCHelper() const override { return true; } + bool useIPCHelper() const override { return true; } }; Test::~Test() |