mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-27 06:42:21 +00:00
make division operator const
[SVN r27404]
This commit is contained in:
@@ -163,7 +163,7 @@ namespace date_time {
|
||||
{
|
||||
return duration_type(ticks_ + d.ticks_);
|
||||
}
|
||||
duration_type operator/(int divisor)
|
||||
duration_type operator/(int divisor) const
|
||||
{
|
||||
return duration_type(ticks_ / divisor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user