summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-15 22:19:27 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-15 22:19:27 +0100
commit847f339b6a187132e93efa946d5a1b539cc86ab8 (patch)
tree0820736151bf8805358eb74a4cc144d2511a0db7
parentUse rvalue refs for serializer wrappers (sub-slot change required) (diff)
downloadslicer-847f339b6a187132e93efa946d5a1b539cc86ab8.tar.bz2
slicer-847f339b6a187132e93efa946d5a1b539cc86ab8.tar.xz
slicer-847f339b6a187132e93efa946d5a1b539cc86ab8.zip
Use rvalue refs for throw wrapper in select tests
-rw-r--r--slicer/db/testSelect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/slicer/db/testSelect.cpp b/slicer/db/testSelect.cpp
index da04b82..7e79780 100644
--- a/slicer/db/testSelect.cpp
+++ b/slicer/db/testSelect.cpp
@@ -149,7 +149,7 @@ BOOST_AUTO_TEST_CASE( select_inherit_datetime )
template <typename T, typename ... P>
T
-BoostThrowWrapperHelper(P & ... p)
+BoostThrowWrapperHelper(P && ... p)
{
return Slicer::DeserializeAny<Slicer::SqlSelectDeserializer, T>(p...);
}