diff options
Diffstat (limited to 'slobrok/src/apps/check_slobrok/check_slobrok.cpp')
-rw-r--r-- | slobrok/src/apps/check_slobrok/check_slobrok.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/slobrok/src/apps/check_slobrok/check_slobrok.cpp b/slobrok/src/apps/check_slobrok/check_slobrok.cpp index 9d588eab39f..8e2a91c100d 100644 --- a/slobrok/src/apps/check_slobrok/check_slobrok.cpp +++ b/slobrok/src/apps/check_slobrok/check_slobrok.cpp @@ -1,12 +1,14 @@ // 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("check_slobrok"); #include <vespa/fnet/frt/frt.h> -#include <vespa/fastos/app.h> + #include <string> #include <sstream> -#include <vespa/log/log.h> -LOG_SETUP("check_slobrok"); class Slobrok_Checker : public FastOS_Application { @@ -23,9 +25,10 @@ public: int usage(); void initRPC(const char *spec); void finiRPC(); - int Main() override; + virtual int Main() override; }; + Slobrok_Checker::~Slobrok_Checker() { LOG_ASSERT(_supervisor == NULL); |