Replace verify() with ensure() with auto src location.

Expression ensure(x) returns x.
Using comma operator removed.
This commit is contained in:
Nekotekina 2020-12-09 10:47:45 +03:00
parent 38745e5782
commit e055d16b2c
121 changed files with 693 additions and 690 deletions

View file

@ -57,10 +57,10 @@ namespace pad
{
if (relaxed)
{
return g_current.load();
return g_current.observe();
}
return verify(HERE, g_current.load());
return ensure(g_current.load());
}
static inline void set_enabled(bool enabled)