From a514500bba6e983ef1afeac885ba8f8ffad369dc Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 11 May 2023 05:28:11 +0200 Subject: [PATCH] try fixing the linkage error with MSVC --- src/runtime/c/pgf/parser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/parser.cxx b/src/runtime/c/pgf/parser.cxx index 2bdb277a3..863592957 100644 --- a/src/runtime/c/pgf/parser.cxx +++ b/src/runtime/c/pgf/parser.cxx @@ -51,6 +51,8 @@ struct PgfLRTableMaker::CompareItem : std::less { } }; +const PgfLRTableMaker::CompareItem PgfLRTableMaker::compare_item; + PgfLRTableMaker::PgfLRTableMaker(ref abstr, ref concr) { this->abstr = abstr; @@ -977,4 +979,4 @@ PgfExpr PgfParser::fetch(PgfDB *db, prob_t *prob) } return 0; -} \ No newline at end of file +}