Skip to content

Commit e981c46

Browse files
committed
Add missing Strategy parameter.
1 parent 1156767 commit e981c46

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

include/boost/geometry/extensions/random/uniform_point_distribution.hpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,15 @@ template
105105
typename Char,
106106
typename Traits,
107107
typename Point,
108-
typename DomainGeometry
108+
typename DomainGeometry,
109+
typename Strategy
109110
>
110111
inline std::basic_ostream<Char, Traits>& operator<<
111112
(
112113
std::basic_ostream<Char, Traits> &os,
113114
boost::geometry::random::uniform_point_distribution
114115
<
115-
DomainGeometry, Point
116+
DomainGeometry, Point, Strategy
116117
> const& dist
117118
)
118119
{
@@ -125,14 +126,15 @@ template
125126
typename Char,
126127
typename Traits,
127128
typename Point,
128-
typename DomainGeometry
129+
typename DomainGeometry,
130+
typename Strategy
129131
>
130132
inline std::basic_istream<Char, Traits>& operator>>
131133
(
132134
std::basic_istream<Char, Traits> &is,
133135
boost::geometry::random::uniform_point_distribution
134136
<
135-
DomainGeometry, Point
137+
DomainGeometry, Point, Strategy
136138
> & dist
137139
)
138140
{
@@ -142,7 +144,7 @@ inline std::basic_istream<Char, Traits>& operator>>
142144
namespace bg = boost::geometry;
143145
typedef typename bg::random::uniform_point_distribution
144146
<
145-
DomainGeometry, Point
147+
DomainGeometry, Point, Strategy
146148
>::param_type param_type;
147149
bg::read_wkt<DomainGeometry>(line, g);
148150
dist.param( param_type(g) );

0 commit comments

Comments
 (0)