summaryrefslogtreecommitdiffstats
path: root/configutil/src/tests/model_inspect/model_inspect_test.cpp
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2017-04-24 12:10:42 +0200
committerGitHub <noreply@github.com>2017-04-24 12:10:42 +0200
commit9ff4bdb407ed8d855a3f86a17c99906ff738177b (patch)
treefc2b050224d7dde92d57e1f9cac12c1e5aaf6b90 /configutil/src/tests/model_inspect/model_inspect_test.cpp
parent32ae190acc9ac5081049e1c7008d1602c68cf821 (diff)
Revert "Balder/enforce override 2"
Diffstat (limited to 'configutil/src/tests/model_inspect/model_inspect_test.cpp')
-rw-r--r--configutil/src/tests/model_inspect/model_inspect_test.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/configutil/src/tests/model_inspect/model_inspect_test.cpp b/configutil/src/tests/model_inspect/model_inspect_test.cpp
index fe818e8e4e4..be45d4d0d46 100644
--- a/configutil/src/tests/model_inspect/model_inspect_test.cpp
+++ b/configutil/src/tests/model_inspect/model_inspect_test.cpp
@@ -1,7 +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/vespalib/testkit/test_kit.h>
#include <lib/modelinspect.h>
-#include <sstream>
+#include <iostream>
class Model {
public:
@@ -88,11 +89,11 @@ public:
void listServices() override { _listServices = true; };
void listClusters() override { _listClusters = true; };
void listConfigIds() override { _listConfigIds = true; };
- int listHost(const vespalib::string) override { _listHost = true; return 0; };
+ int listHost(const vespalib::string) override { _listHost = true; return 0; };
int listAllPorts() override { _listAllPorts = true; return 0; };
- int listCluster(const vespalib::string) override { _listCluster = true; return 0; };
- int listService(const vespalib::string) override { _listService = true; return 0; };
- int listService(const vespalib::string, const vespalib::string) override { _listService2 = true; return 0; };
+ int listCluster(const vespalib::string) override { _listCluster = true; return 0; };
+ int listService(const vespalib::string) override { _listService = true; return 0; };
+ int listService(const vespalib::string, const vespalib::string) override { _listService2 = true; return 0; };
int listConfigId(const vespalib::string) override { _listConfigId = true; return 0; };
int getIndexOf(const vespalib::string, const vespalib::string) override { _getIndexOf = true; return 0; };