mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
stop clang from complaining about a missing return after a guaranteed assert() failure
This commit is contained in:
parent
153164c803
commit
3170f880c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue