Skip to content

Commit a6bfe95

Browse files
committed
Formatting.
1 parent 57632e1 commit a6bfe95

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

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

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,40 @@ template
3737
inline std::basic_ostream<Char, Traits>& operator<<
3838
(
3939
std::basic_ostream<Char, Traits> &os,
40-
boost::geometry::random::dispatch::uniform_point_distribution<
41-
DomainGeometry, Point> const& dist
40+
boost::geometry::random::dispatch::uniform_point_distribution
41+
<
42+
DomainGeometry, Point
43+
> const& dist
4244
)
4345
{
4446
os << boost::geometry::wkt<DomainGeometry>(dist.domain());
4547
return os;
4648
}
4749

48-
template<typename Char, typename Traits, typename Point, typename DomainGeometry>
50+
template
51+
<
52+
typename Char,
53+
typename Traits,
54+
typename Point,
55+
typename DomainGeometry
56+
>
4957
inline std::basic_istream<Char, Traits>& operator>>
5058
(
5159
std::basic_istream<Char, Traits> &is,
52-
boost::geometry::random::dispatch::uniform_point_distribution<
53-
DomainGeometry, Point> & dist
60+
boost::geometry::random::dispatch::uniform_point_distribution
61+
<
62+
DomainGeometry, Point
63+
> & dist
5464
)
5565
{
5666
std::basic_string<Char, Traits> line;
5767
std::getline(is, line);
5868
DomainGeometry g;
5969
namespace bg = boost::geometry;
60-
typedef typename bg::random::dispatch::uniform_point_distribution<
61-
DomainGeometry, Point>::param_type param_type;
70+
typedef typename bg::random::dispatch::uniform_point_distribution
71+
<
72+
DomainGeometry, Point
73+
>::param_type param_type;
6274
bg::read_wkt<DomainGeometry>(line, g);
6375
dist.param( param_type(g) );
6476
return is;

0 commit comments

Comments
 (0)