From d22c1ba1a45c2646071bb1db30b8d2cedc893fd2 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Fri, 8 Aug 2014 20:32:44 +0300 Subject: [PATCH] [test][util][ipower] make ::ipower function inline --- test/util/ipower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/util/ipower.cpp b/test/util/ipower.cpp index b8c85174c..dc5358d62 100644 --- a/test/util/ipower.cpp +++ b/test/util/ipower.cpp @@ -32,7 +32,7 @@ namespace bg = boost::geometry; // this is the function implemented with MPL (in non-recursive form) template -T ipower(const T& x, std::size_t n) +inline T ipower(const T& x, std::size_t n) { T z(1); if ( n == 0 ) { return z; }