diff --git a/.appveyor.yml b/.appveyor.yml index 374194cb..e912e725 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -13,7 +13,7 @@ init: [] install: [] before_build: - git submodule update --init --recursive --remote -- cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" -DSTATIC=%STATIC% -DSAMPLES=ON +- cmake -H. -Bbuild -G"Visual Studio 14 2015 Win64" -DSTATIC=%STATIC% -DSAMPLES=ON -DBENCHMARKS=ON build: project: build/xlnt_all.sln diff --git a/.travis.yml b/.travis.yml index 32dd49d2..c90f3eca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,7 @@ matrix: - COVERAGE=ON - STATIC=ON - SAMPLES=OFF + - BENCHMARKS=OFF - os: linux compiler: gcc @@ -41,11 +42,12 @@ matrix: - COVERAGE=OFF - STATIC=OFF - SAMPLES=ON + - BENCHMARKS=ON script: - mkdir build - cd build - - cmake -D STATIC=$STATIC -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug .. + - cmake -D STATIC=$STATIC -D BENCHMARKS=$BENCHMARKS -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug .. - cmake --build . - cd bin && ./xlnt.test - cd .. diff --git a/include/xlnt/worksheet/cell_vector.hpp b/include/xlnt/worksheet/cell_vector.hpp index ecead1e2..a89952fe 100644 --- a/include/xlnt/worksheet/cell_vector.hpp +++ b/include/xlnt/worksheet/cell_vector.hpp @@ -104,7 +104,7 @@ public: /// /// /// - cell cell(std::size_t column_index); + class cell cell(std::size_t column_index); /// /// diff --git a/include/xlnt/worksheet/range.hpp b/include/xlnt/worksheet/range.hpp index 09c0508b..86f95dc0 100644 --- a/include/xlnt/worksheet/range.hpp +++ b/include/xlnt/worksheet/range.hpp @@ -114,7 +114,7 @@ public: /// /// /// - cell cell(const cell_reference &ref); + class cell cell(const cell_reference &ref); /// /// diff --git a/source/detail/xlsx_consumer.hpp b/source/detail/xlsx_consumer.hpp index 7f3d5559..34c99c5b 100644 --- a/source/detail/xlsx_consumer.hpp +++ b/source/detail/xlsx_consumer.hpp @@ -333,7 +333,7 @@ private: /// /// Convenience method to access the target workbook's manifest. /// - manifest &manifest(); + class manifest &manifest(); /// /// The ZIP file containing the files that make up the OOXML package.