>From 3b85cf853db09710a12c62e0f38ed82a50b8c679 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Sep 2015 14:21:15 +0200 Subject: [PATCH 1/3] Compilation fix for column_definition initialization with MSVC The compiler refuses to initialize the fields declared as const. --- group_quote_pdf_gen_wx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/group_quote_pdf_gen_wx.cpp b/group_quote_pdf_gen_wx.cpp index 18b040b..24cf40e 100644 --- a/group_quote_pdf_gen_wx.cpp +++ b/group_quote_pdf_gen_wx.cpp @@ -196,8 +196,8 @@ enum enum_group_quote_columns struct column_definition { - char const* const header_; - char const* const widest_text_; // Empty string means variable width. + char const* header_; + char const* widest_text_; // Empty string means variable width. }; column_definition const column_definitions[] = -- 2.5.1