From fe90164a8abc45c034271234808ce69e98371bc2 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 16 Aug 2023 22:18:53 +0200 Subject: [PATCH] Fixed some compiler warnings --- src/db/db/dbNetlistCompareUtils.cc | 4 ++-- src/db/db/dbPath.cc | 4 ++-- src/db/db/dbText.cc | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/db/db/dbNetlistCompareUtils.cc b/src/db/db/dbNetlistCompareUtils.cc index 7320e6a58..18f4f4fb3 100644 --- a/src/db/db/dbNetlistCompareUtils.cc +++ b/src/db/db/dbNetlistCompareUtils.cc @@ -414,8 +414,8 @@ generic_categorizer::cat_for (const Obj *cls) } // explicit instantiations -template class DB_PUBLIC generic_categorizer; -template class DB_PUBLIC generic_categorizer; +template class generic_categorizer; +template class generic_categorizer; // -------------------------------------------------------------------------------------------------------------------- // DeviceCategorizer implementation diff --git a/src/db/db/dbPath.cc b/src/db/db/dbPath.cc index c30173e61..f1d5be16e 100644 --- a/src/db/db/dbPath.cc +++ b/src/db/db/dbPath.cc @@ -579,8 +579,8 @@ Path round_path_corners (const Path &path, int rad, int n) return Path (round_path_corners (db::DPath (path), double (rad), n, 0.5)); } -template class DB_PUBLIC path; -template class DB_PUBLIC path; +template class path; +template class path; // explicit instantiations template DB_PUBLIC void path::create_shifted_points (Coord, Coord, Coord, bool, path::pointlist_type::iterator, path::pointlist_type::iterator, int, box_inserter::box_type>) const; diff --git a/src/db/db/dbText.cc b/src/db/db/dbText.cc index 1a5780906..cde9f9037 100644 --- a/src/db/db/dbText.cc +++ b/src/db/db/dbText.cc @@ -121,8 +121,8 @@ std::string text::to_string (double dbu) const return s; } -template class DB_PUBLIC text; -template class DB_PUBLIC text; +template class text; +template class text; }