From 5b8aba0005785d68698b70f961394c3447f434c3 Mon Sep 17 00:00:00 2001 From: David Hall Date: Tue, 11 Aug 2020 17:06:20 -0500 Subject: [PATCH] MCOL-4171 use const ref when passing int128 It saves a pico second or two. --- utils/windowfunction/windowfunctiontype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/windowfunction/windowfunctiontype.h b/utils/windowfunction/windowfunctiontype.h index 1c7dea375..995ca5718 100644 --- a/utils/windowfunction/windowfunctiontype.h +++ b/utils/windowfunction/windowfunctiontype.h @@ -242,7 +242,7 @@ protected: { fRow.setIntField(v, i); } - void setInt128Value(int64_t i, int128_t v) + void setInt128Value(int64_t i, const int128_t& v) { fRow.setInt128Field(v, i); }