mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +00:00
quench warning on osx
This commit is contained in:
parent
9e0a0568fe
commit
e611823e4c
@ -227,7 +227,7 @@ private:
|
||||
|
||||
NAMESPACE_BEGIN(detail)
|
||||
|
||||
static constexpr int log2(size_t n, int k = 0) { return (n <= 1) ? k : log2(n >> 1, k + 1); }
|
||||
inline static constexpr int log2(size_t n, int k = 0) { return (n <= 1) ? k : log2(n >> 1, k + 1); }
|
||||
|
||||
inline std::string error_string();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user