diff options
Diffstat (limited to 'vespalog')
-rw-r--r-- | vespalog/src/test/threads/testthreads.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/vespalog/src/test/threads/testthreads.cpp b/vespalog/src/test/threads/testthreads.cpp index af0fe509080..d1767dd70ff 100644 --- a/vespalog/src/test/threads/testthreads.cpp +++ b/vespalog/src/test/threads/testthreads.cpp @@ -1,5 +1,4 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/app.h> #include <vespa/fastos/thread.h> #include <vespa/log/bufferedlogger.h> #include <array> @@ -77,10 +76,17 @@ LoggerThread::Run(FastOS_ThreadInterface *, void *) } -class ThreadTester : public FastOS_Application +class ThreadTester { public: - int Main() override; + int _argc = 0; + char **_argv = nullptr; + int Main(); + int Entry(int argc, char **argv) { + _argc = argc; + _argv = argv; + return Main(); + } }; int |