From f8224b138412886642d15e464b3aa94f702d3baa Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 26 Jul 2016 09:43:41 +0300 Subject: [PATCH] Use explicit initialization of the `timespec` object to fix compilation on older compilers --- src/buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.cc b/src/buffer.cc index ec970676..45834f3c 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -71,7 +71,7 @@ Buffer::Buffer(String name, Flags flags, StringView data, m_flags{flags | Flags::NoUndo}, m_history{m_next_history_id++, nullptr}, m_history_cursor{&m_history}, m_last_save_history_cursor{&m_history}, - m_fs_timestamp{fs_timestamp} + m_fs_timestamp{fs_timestamp.tv_sec, fs_timestamp.tv_nsec} { ParsedLines parsed_lines = parse_lines(data);