[range.h] Make ctr explicit
This commit is contained in:
parent
82324d1d27
commit
bde2b2b40d
@ -12,7 +12,7 @@ namespace base {
|
||||
public:
|
||||
typedef boost::optional<T> maybe;
|
||||
|
||||
range(maybe begin = maybe(), maybe end = maybe())
|
||||
explicit range(maybe begin = maybe(), maybe end = maybe())
|
||||
: begin_(begin),
|
||||
end_(end) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user