mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
bees: make it build with clang
Remove unused "addr check" functions. We have ranged_cast for detecting overflow bits. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
parent
e34237886d
commit
17d8759011
14
src/bees.cc
14
src/bees.cc
@ -221,20 +221,6 @@ BeesNote::get_status()
|
|||||||
|
|
||||||
// static inline helpers ----------------------------------------
|
// static inline helpers ----------------------------------------
|
||||||
|
|
||||||
static inline
|
|
||||||
bool
|
|
||||||
bees_addr_check(uint64_t v)
|
|
||||||
{
|
|
||||||
return !(v & (1ULL << 63));
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline
|
|
||||||
bool
|
|
||||||
bees_addr_check(int64_t v)
|
|
||||||
{
|
|
||||||
return !(v & (1ULL << 63));
|
|
||||||
}
|
|
||||||
|
|
||||||
string
|
string
|
||||||
pretty(double d)
|
pretty(double d)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user