fix: Unnamed namespace macro is not available here
This commit is contained in:
parent
42b98a78cf
commit
db0f65a46e
|
|
@ -27,15 +27,15 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
BEGIN_UNNAMED_NAMESPACE
|
||||
namespace {
|
||||
|
||||
template<int N>
|
||||
struct isPowerOfTwo
|
||||
{
|
||||
template<int N>
|
||||
struct isPowerOfTwo
|
||||
{
|
||||
static const bool value = N && !(N & (N - 1));
|
||||
};
|
||||
};
|
||||
|
||||
END_UNNAMED_NAMESPACE
|
||||
}
|
||||
|
||||
// --
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue