git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove abs64 inline
[novacoin.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
3138b7c
..
8a69fc1
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-295,11
+295,6
@@
inline int64_t roundint64(double d)
return (int64_t)(d > 0 ? d + 0.5 : d - 0.5);
}
-inline int64_t abs64(int64_t n)
-{
- return (n >= 0 ? n : -n);
-}
-
inline std::string leftTrim(std::string src, char chr)
{
std::string::size_type pos = src.find_first_not_of(chr, 0);