Skip to content

Commit 253b687

Browse files
committed
Bugfix: Don't use class template arguments on constructor definition
1 parent 58b313d commit 253b687

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/osmium/geom/factory.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ namespace osmium {
166166

167167
public:
168168

169-
GeometryFactory<TGeomImpl, TProjection>() :
169+
GeometryFactory() :
170170
m_projection(),
171171
m_impl(m_projection.epsg()) {
172172
}
@@ -175,7 +175,7 @@ namespace osmium {
175175
* Constructor for default initialized projection.
176176
*/
177177
template <typename... TArgs>
178-
explicit GeometryFactory<TGeomImpl, TProjection>(TArgs&&... args) :
178+
explicit GeometryFactory(TArgs&&... args) :
179179
m_projection(),
180180
m_impl(m_projection.epsg(), std::forward<TArgs>(args)...) {
181181
}
@@ -185,7 +185,7 @@ namespace osmium {
185185
* projection is moved into the GeometryFactory.
186186
*/
187187
template <typename... TArgs>
188-
explicit GeometryFactory<TGeomImpl, TProjection>(TProjection&& projection, TArgs&&... args) :
188+
explicit GeometryFactory(TProjection&& projection, TArgs&&... args) :
189189
m_projection(std::move(projection)),
190190
m_impl(m_projection.epsg(), std::forward<TArgs>(args)...) {
191191
}

0 commit comments

Comments
 (0)