From dc28bbbd37e04b254b9a3f5a3f47709fbf22371e Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Sat, 4 Mar 2017 00:19:23 +0100 Subject: Deinline destructors/constructors --- .../dense_dot_product_function_test.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'eval/src/tests/tensor') diff --git a/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp b/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp index 8b7ea1d03a9..3b16c9e3026 100644 --- a/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp +++ b/eval/src/tests/tensor/dense_dot_product_function/dense_dot_product_function_test.cpp @@ -90,11 +90,8 @@ struct Fixture { DenseDotProductFunction function; FunctionInput input; - Fixture(size_t lhsNumCells, size_t rhsNumCells) - : function(0, 1), - input(lhsNumCells, rhsNumCells) - { - } + Fixture(size_t lhsNumCells, size_t rhsNumCells); + ~Fixture(); double eval() const { Stash stash; const Value &result = function.eval(input, stash); @@ -107,6 +104,13 @@ struct Fixture } }; +Fixture::Fixture(size_t lhsNumCells, size_t rhsNumCells) + : function(0, 1), + input(lhsNumCells, rhsNumCells) +{ } + +Fixture::~Fixture() { } + void assertDotProduct(size_t numCells) { -- cgit v1.2.3