build: fix -Wsuggest-override
suggest-override helps make the original author's intent clear for
future readers. For false positives, use a different method name.
Tested by building and running the unit tests with clang.
Change-Id: Icc657bf3c0269e681f26fb5e58c5198aa5aa4a19
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/src/test/name_change.cpp b/src/test/name_change.cpp
index d7788f8..2db7e04 100644
--- a/src/test/name_change.cpp
+++ b/src/test/name_change.cpp
@@ -8,7 +8,7 @@
{
public:
boost::asio::io_context io;
- void SetUp() override
+ virtual void SetUp() override
{
io.run();
}