mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 19:14:58 +08:00
Fix build on old gcc by using old-school initialization
It appears Gcc 4.8 doesn't get this particular expression, so we just revert to the old `type foo = bar` style from the new `type foo{bar}`. Fixes #6027.
This commit is contained in:
parent
9b89b820da
commit
2c32885a2d
|
@ -835,7 +835,7 @@ struct history_impl_t {
|
|||
std::unique_ptr<history_file_contents_t> file_contents{};
|
||||
|
||||
// The file ID of the history file.
|
||||
file_id_t history_file_id{kInvalidFileID};
|
||||
file_id_t history_file_id = kInvalidFileID;
|
||||
|
||||
// The boundary timestamp distinguishes old items from new items. Items whose timestamps are <=
|
||||
// the boundary are considered "old". Items whose timestemps are > the boundary are new, and are
|
||||
|
|
Loading…
Reference in New Issue
Block a user