fake_support: fix compilation error with Clang

This commit is contained in:
Hugues Delorme 2016-06-30 10:39:45 +02:00
parent c9ce1e04d0
commit 185b70084a
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ endif()
option(GMIO_BUILD_STRICT_C90 "Build gmio library(and tests) with strict conformance to C90 standard" OFF)
option(GMIO_BUILD_SHARED_LIBS "Build gmio as a shared library (DLL)" OFF)
option(GMIO_BUILD_BENCHMARKS "Build performance benchmarks for the gmio library" OFF)
option(GMIO_BUILD_EXAMPLES "Build gmio examples" OFF)
option(GMIO_BUILD_EXAMPLES "Build gmio examples" OFF)
option(GMIO_BUILD_TESTS_FAKE_SUPPORT "Build tests/fake_support target" OFF)
if(CMAKE_C_COMPILER_IS_GCC_COMPATIBLE)
option(GMIO_BUILD_TESTS_COVERAGE "Instrument testing code with code coverage" OFF)

View File

@ -6,6 +6,7 @@
class TColStd_ListOfInteger
{
public:
TColStd_ListOfInteger() {}
Standard_Boolean IsEmpty() const { return Standard_True; }
int First() const { return -1; }
};