From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Mon, 26 Nov 2018 20:38:30 +0300 From: Konstantin Osipov Subject: Re: [PATCH 1/6] vclock: allow to use const vclock as search key Message-ID: <20181126173830.GB7839@chai> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [18/11/26 10:27]: > vclockset_psearch() and friends never modify the vclock used as a search > key, but the compiler will not allow to pass const struct vclock to any > of those functions. Fix this. Hi, Please change rb_gen() signature if possible instead. > --- > src/box/vclock.c | 4 +++- > src/box/vclock.h | 5 +++-- > 2 files changed, 6 insertions(+), 3 deletions(-) -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov