mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 20:22:09 +00:00
fixed VC++ warning
[SVN r7814]
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
: _key(n), _left(n), _right(n), _p(n), _mark(n), _degree(n),
|
||||
_n(0), _root(n), _id(id), _compare(cmp), _child(n),
|
||||
#ifdef BOOST_MSVC
|
||||
new_roots(log(float(n)) + 5) { }
|
||||
new_roots(int(log(float(n))) + 5) { }
|
||||
#else
|
||||
new_roots(std::log(float(n)) + 5) { }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user