# HG changeset patch # User Sebastien Jodogne # Date 1615208042 -3600 # Node ID f52d0bc19e07853882263f0334ac0af741ffa2f2 # Parent 3495a3d97ab6e50d42debaee8103c62c608cb221 fix build for msvc2008 diff -r 3495a3d97ab6 -r f52d0bc19e07 OrthancServer/Sources/ServerIndex.cpp --- a/OrthancServer/Sources/ServerIndex.cpp Mon Mar 08 12:34:17 2021 +0100 +++ b/OrthancServer/Sources/ServerIndex.cpp Mon Mar 08 13:54:02 2021 +0100 @@ -1680,7 +1680,7 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1) + T1 t1) { const Tuple tuple(t1); TupleOperationsWrapper wrapper(*this, tuple); @@ -1704,8 +1704,8 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1, - const T2& t2) + T1 t1, + T2 t2) { const Tuple tuple(t1, t2); TupleOperationsWrapper wrapper(*this, tuple); @@ -1730,9 +1730,9 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1, - const T2& t2, - const T3& t3) + T1 t1, + T2 t2, + T3 t3) { const Tuple tuple(t1, t2, t3); TupleOperationsWrapper wrapper(*this, tuple); @@ -1758,10 +1758,10 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1, - const T2& t2, - const T3& t3, - const T4& t4) + T1 t1, + T2 t2, + T3 t3, + T4 t4) { const Tuple tuple(t1, t2, t3, t4); TupleOperationsWrapper wrapper(*this, tuple); @@ -1788,11 +1788,11 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1, - const T2& t2, - const T3& t3, - const T4& t4, - const T5& t5) + T1 t1, + T2 t2, + T3 t3, + T4 t4, + T5 t5) { const Tuple tuple(t1, t2, t3, t4, t5); TupleOperationsWrapper wrapper(*this, tuple); @@ -1820,12 +1820,12 @@ const Tuple& tuple) = 0; void Apply(ServerIndex& index, - const T1& t1, - const T2& t2, - const T3& t3, - const T4& t4, - const T5& t5, - const T6& t6) + T1 t1, + T2 t2, + T3 t3, + T4 t4, + T5 t5, + T6 t6) { const Tuple tuple(t1, t2, t3, t4, t5, t6); TupleOperationsWrapper wrapper(*this, tuple);