summaryrefslogtreecommitdiffstats
path: root/memfilepersistence/src/tests/device/partitionmonitortest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'memfilepersistence/src/tests/device/partitionmonitortest.cpp')
-rw-r--r--memfilepersistence/src/tests/device/partitionmonitortest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/memfilepersistence/src/tests/device/partitionmonitortest.cpp b/memfilepersistence/src/tests/device/partitionmonitortest.cpp
index d1f40e07320..44f3752d840 100644
--- a/memfilepersistence/src/tests/device/partitionmonitortest.cpp
+++ b/memfilepersistence/src/tests/device/partitionmonitortest.cpp
@@ -1,5 +1,6 @@
// 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/memfilepersistence/device/partitionmonitor.h>
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vdstestlib/cppunit/macros.h>
@@ -55,7 +56,7 @@ struct FakeStatter : public PartitionMonitor::Statter {
_info.f_bfree -= (size / _info.f_bsize);
}
- void statFileSystem(const std::string&, struct statvfs& info) override {
+ virtual void statFileSystem(const std::string&, struct statvfs& info) override {
info = _info;
}
};