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