trop[bot]
99f2bab4a4
refactor: fix modernize-return-braced-init-list warnings ( #44856 )
...
* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
Co-authored-by: Charles Kerr <charles@charleskerr.com >
* refactor: avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
NB: using the braced-initializer list uncovered an error here:
the float returned by std::floor() can't be implicitly cast to
an int. This is solved by using base::ClampFloor<int>() instead.
std::floor()
Co-authored-by: Charles Kerr <charles@charleskerr.com >
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2024-11-26 22:18:13 -06:00
..
2024-07-29 12:42:57 -05:00
2024-07-25 11:25:45 +02:00
2023-08-04 10:47:29 +02:00
2024-11-26 22:18:13 -06:00
2024-09-17 01:38:56 -07:00
2024-08-05 08:24:27 -05:00
2024-09-04 18:40:02 -05:00
2024-09-06 12:59:32 -04:00
2024-07-29 12:42:57 -05:00
2024-11-14 16:59:10 -08:00
2024-11-14 16:59:10 -08:00
2024-01-10 16:23:35 -06:00
2024-11-26 22:18:13 -06:00
2024-09-17 12:58:56 -07:00
2024-11-26 22:18:13 -06:00
2024-07-25 11:25:45 +02:00
2024-07-29 12:42:57 -05:00
2024-09-04 18:40:02 -05:00
2024-09-16 15:53:04 -05:00
2024-09-04 18:40:02 -05:00
2024-09-10 16:05:57 -07:00
2024-09-12 16:05:37 +02:00
2024-09-10 16:05:57 -07:00
2024-07-29 12:42:57 -05:00
2024-09-16 15:53:04 -05:00
2024-09-04 18:40:02 -05:00
2024-07-25 11:25:45 +02:00
2021-11-22 16:34:31 +09:00
2024-08-26 10:58:32 -04:00
2024-09-04 18:40:02 -05:00
2024-07-29 12:42:57 -05:00
2024-09-04 18:40:02 -05:00
2024-11-04 14:47:15 -05:00
2024-11-04 14:47:15 -05:00
2024-11-04 14:47:15 -05:00
2024-11-04 14:47:15 -05:00
2024-07-29 12:42:57 -05:00
2024-11-04 14:47:15 -05:00
2023-08-23 09:54:21 -04:00
2024-07-24 14:38:22 +02:00
2024-09-04 18:40:02 -05:00
2024-11-26 22:18:13 -06:00
2024-09-04 18:40:02 -05:00
2024-08-12 09:55:54 +02:00
2024-09-04 18:40:02 -05:00
2024-03-06 12:43:39 +01:00
2024-09-17 12:58:56 -07:00
2024-09-25 06:19:39 -05:00
2024-09-25 06:19:39 -05:00
2024-07-29 12:42:57 -05:00
2024-09-04 18:40:02 -05:00
2023-09-05 10:16:41 +02:00
2024-09-16 15:53:04 -05:00
2024-09-04 18:40:02 -05:00
2023-08-23 09:54:21 -04:00
2024-07-29 12:42:57 -05:00
2024-09-04 18:40:02 -05:00
2024-11-26 22:18:13 -06:00
2024-11-26 22:18:13 -06:00
2024-09-04 18:40:02 -05:00
2024-09-16 15:53:04 -05:00
2024-09-04 18:40:02 -05:00
2024-11-04 13:12:50 -08:00
2024-09-17 12:58:56 -07:00
2024-09-25 06:19:39 -05:00
2024-09-16 23:08:40 -05:00
2024-07-29 12:42:57 -05:00
2024-09-04 18:40:02 -05:00
2024-11-26 22:18:13 -06:00
2024-09-04 18:40:02 -05:00
2024-11-19 22:09:53 +01:00
2024-11-19 22:09:53 +01:00
2024-11-26 22:18:13 -06:00
2024-11-15 13:09:34 +01:00
2024-09-25 06:19:39 -05:00
2024-06-07 17:18:35 -04:00
2024-07-29 12:42:57 -05:00
2024-07-16 20:16:25 -04:00
2024-11-26 22:18:13 -06:00
2024-09-25 06:19:39 -05:00
2024-11-26 22:18:13 -06:00
2024-10-11 18:33:53 -04:00
2024-09-10 15:32:30 +02:00
2024-09-04 18:40:02 -05:00
2023-02-09 10:31:38 +09:00
2024-08-12 09:56:51 +02:00
2024-08-12 09:56:51 +02:00
2024-01-30 14:48:09 -06:00
2024-06-20 10:49:07 +02:00
2024-07-29 12:42:57 -05:00
2024-07-29 12:42:57 -05:00
2024-10-14 10:46:24 +02:00
2024-09-04 18:40:02 -05:00
2024-09-17 01:38:56 -07:00
2022-02-09 18:58:52 -08:00
2024-07-25 11:25:45 +02:00
2024-07-29 12:42:57 -05:00
2022-06-29 12:55:47 -07:00
2022-06-29 12:55:47 -07:00