stop clang from complaining about a missing return after a guaranteed assert() failure
This commit is contained in:
parent
153164c803
commit
3170f880c2
@ -254,8 +254,8 @@ class LIBTEMPORAL_API timepos_t : public int62_t {
|
||||
timecnt_t expensive_distance (timepos_t const & p) const;
|
||||
timepos_t expensive_add (timepos_t const & s) const;
|
||||
|
||||
int62_t operator- (int62_t) const { assert (0); }
|
||||
int62_t operator- (int64_t) const { assert (0); }
|
||||
int62_t operator- (int62_t) const { assert (0); return int62_t (false, 0); }
|
||||
int62_t operator- (int64_t) const { assert (0); return int62_t (false, 0); }
|
||||
|
||||
using int62_t::operator int64_t;
|
||||
using int62_t::operator-=;
|
||||
|
Loading…
Reference in New Issue
Block a user