Tomasz Grabiec
17ee1a2eed
utils: cached_file: Fix compilation error
Fix field initialization order problem.
In file included from ./sstables/mc/bsearch_clustered_cursor.hh:28,
from sstables/index_reader.hh:32,
from sstables/sstables.cc:49:
./utils/cached_file.hh: In constructor 'cached_file::stream::stream(cached_file&, const seastar::io_priority_class&, tracing::trace_state_ptr, cached_file::page_idx_type, cached_file::offset_type)':
./utils/cached_file.hh:119:34: error: 'cached_file::stream::_trace_state' will be initialized after [-Werror=reorder]
119 | tracing::trace_state_ptr _trace_state;
| ^~~~~~~~~~~~
./utils/cached_file.hh:117:23: error: 'cached_file::page_idx_type cached_file::stream::_page_idx' [-Werror=reorder]
117 | page_idx_type _page_idx;
| ^~~~~~~~~
./utils/cached_file.hh:127:9: error: when initialized here [-Werror=reorder]
127 | stream(cached_file& cf, const io_priority_class& pc, tracing::trace_state_ptr trace_state,
| ^~~~~~
Message-Id: <1592478082-22505-1-git-send-email-tgrabiec@scylladb.com>
2020-06-18 14:08:29 +03:00
..
2020-01-30 14:10:18 +02:00
2020-04-23 16:06:37 +03:00
2020-06-01 16:11:49 +02:00
2020-03-04 13:28:16 +02:00
2020-03-23 11:59:30 +02:00
2020-03-23 09:29:45 +02:00
2020-06-18 14:08:29 +03:00
2020-03-23 09:29:45 +02:00
2020-04-05 12:46:04 +03:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-06-02 09:12:21 +03:00
2020-02-09 17:26:52 +02:00
2020-03-23 09:29:45 +02:00
2020-02-09 17:26:52 +02:00
2020-02-09 17:26:52 +02:00
2020-06-02 09:12:21 +03:00
2020-03-20 19:37:48 +01:00
2020-06-03 14:44:00 +02:00
2020-06-15 08:22:43 +03:00
2020-02-29 19:28:57 +02:00
2020-02-29 19:28:57 +02:00
2020-03-23 09:29:45 +02:00
2019-11-26 02:24:49 +03:00
2020-04-05 12:46:04 +03:00
2019-12-12 17:32:10 +03:00
2020-03-25 08:49:53 +02:00
2020-06-02 09:12:21 +03:00
2020-06-02 09:12:21 +03:00
2020-06-01 09:08:40 +03:00
2020-06-01 09:08:40 +03:00
2020-06-14 08:18:39 -07:00
2020-06-15 08:22:49 +03:00
2019-11-26 02:24:49 +03:00
2020-03-23 09:29:45 +02:00
2020-04-05 12:46:04 +03:00
2020-02-27 09:34:51 -05:00
2020-02-27 09:34:51 -05:00
2020-06-02 09:12:21 +03:00
2020-04-05 12:46:04 +03:00
2020-06-02 09:12:21 +03:00
2020-06-02 09:12:21 +03:00
2020-06-08 14:07:35 +03:00
2020-05-29 14:50:43 +02:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-03-04 12:42:57 +02:00
2020-03-04 12:42:57 +02:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-05-31 12:58:59 +03:00
2020-04-05 12:46:04 +03:00
2020-06-02 09:12:21 +03:00
2020-03-23 11:59:30 +02:00
2020-06-02 09:12:21 +03:00
2020-03-25 08:49:53 +02:00
2020-03-03 21:23:40 +02:00
2020-05-23 11:09:10 +03:00
2020-04-05 12:46:04 +03:00
2020-02-27 18:11:54 +02:00
2020-01-27 11:09:01 +02:00
2020-01-26 18:54:36 +02:00