Jan Ciolek
8d7e35caef
cql3: expr: remove reference to temporary in get_rhs_receiver
...
The function underlying_type() returns an data_type by value,
but the code assigned it to a reference.
At first I was sure this is an error
(assigning temporary value to a reference), but it turns out
that this is most likely correct due to C++ lifetime
extension rules.
I think it's better to avoid such unituitive tricks.
Assigning to value makes it clearer that the code
is correct and there are no dangling references.
Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com >
Closes #12485
2023-01-10 09:42:49 +02:00
..
2023-01-10 09:42:49 +02:00
2023-01-03 19:54:13 +02:00
2022-11-29 11:02:18 +02:00
2023-01-03 19:54:13 +02:00
2023-01-09 18:52:41 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-01-03 19:54:13 +02:00
2022-05-13 07:11:58 +02:00
2022-06-28 19:58:06 -03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-11-29 11:02:18 +02:00
2022-09-08 15:25:36 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03:00
2022-12-10 12:27:22 +01:00
2022-05-13 07:11:58 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-12-10 12:51:05 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-09-28 09:54:59 +03:00
2022-09-28 09:54:59 +03:00
2022-06-17 09:09:49 +02:00
2022-05-13 07:11:58 +02:00
2022-02-24 19:46:10 +03:00
2022-01-18 12:15:18 +01:00
2023-01-03 19:54:13 +02:00
2023-01-03 19:54:13 +02:00
2022-09-08 15:25:36 +02:00
2022-09-08 15:25:36 +02:00
2022-01-18 12:15:18 +01:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2018-02-14 14:15:57 -05:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-02-01 21:14:41 +01:00
2023-01-03 19:54:13 +02:00
2023-01-03 19:54:13 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-06-16 19:23:46 +03:00
2022-05-13 07:11:58 +02:00
2022-06-15 08:47:24 +02:00
2022-06-15 08:47:24 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2022-07-22 20:14:48 +03:00
2022-12-10 12:27:22 +01:00
2022-10-18 22:48:25 +02:00
2023-01-03 19:54:13 +02:00