Fixed some compiler warnings

This commit is contained in:
Matthias Koefferlein 2023-08-16 22:18:53 +02:00
parent 7d07aeb9fa
commit fe90164a8a
3 changed files with 6 additions and 6 deletions

View File

@ -414,8 +414,8 @@ generic_categorizer<Obj>::cat_for (const Obj *cls)
}
// explicit instantiations
template class DB_PUBLIC generic_categorizer<db::DeviceClass>;
template class DB_PUBLIC generic_categorizer<db::Circuit>;
template class generic_categorizer<db::DeviceClass>;
template class generic_categorizer<db::Circuit>;
// --------------------------------------------------------------------------------------------------------------------
// DeviceCategorizer implementation

View File

@ -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<Coord>;
template class DB_PUBLIC path<DCoord>;
template class path<Coord>;
template class path<DCoord>;
// explicit instantiations
template DB_PUBLIC void path<Coord>::create_shifted_points (Coord, Coord, Coord, bool, path<Coord>::pointlist_type::iterator, path<Coord>::pointlist_type::iterator, int, box_inserter<path<Coord>::box_type>) const;

View File

@ -121,8 +121,8 @@ std::string text<C>::to_string (double dbu) const
return s;
}
template class DB_PUBLIC text<Coord>;
template class DB_PUBLIC text<DCoord>;
template class text<Coord>;
template class text<DCoord>;
}