From da65851ee2650863bc203ed75bf6319b8d221144 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 24 Jun 2018 14:11:23 +0200 Subject: [PATCH] Public declaration of path::to_string --- src/db/db/dbPath.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/db/db/dbPath.cc b/src/db/db/dbPath.cc index b8de7a597..40f997351 100644 --- a/src/db/db/dbPath.cc +++ b/src/db/db/dbPath.cc @@ -97,7 +97,7 @@ path::area () const } template -std::string +DB_PUBLIC std::string path::to_string () const { std::string s = "("; @@ -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;