[Tests/IF] Fix a build error related to -Winconsistent-missing-override
authorWook Song <wook16.song@samsung.com>
Tue, 31 May 2022 01:19:59 +0000 (10:19 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 31 May 2022 07:54:27 +0000 (16:54 +0900)
commit32a9093f7153691eb56bbf350f4b0afe1606ea1f
tree0090a98a695ee786e692cc149a236db349633e93
parent70e0cba0d54e17793ecbd069c0ca7dfd625a7c75
[Tests/IF] Fix a build error related to -Winconsistent-missing-override

This patch fixes the following build error while compiling with clang in
macOS.

With clang in macOS:

../tests/nnstreamer_if/unittest_if.cc:65:8: error: 'TearDown' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
  void TearDown ()
       ^
/opt/homebrew/Cellar/googletest/1.11.0/include/gtest/gtest.h:481:16: note: overridden virtual function is here
  virtual void TearDown();
               ^
1 error generated.

Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/nnstreamer_if/unittest_if.cc