fix: Unnamed namespace macro is not available here

This commit is contained in:
Francois Best 2018-10-11 11:37:40 +02:00
parent 42b98a78cf
commit db0f65a46e
1 changed files with 7 additions and 7 deletions

View File

@ -27,15 +27,15 @@
#pragma once
BEGIN_UNNAMED_NAMESPACE
namespace {
template<int N>
struct isPowerOfTwo
{
static const bool value = N && !(N & (N - 1));
};
template<int N>
struct isPowerOfTwo
{
static const bool value = N && !(N & (N - 1));
};
END_UNNAMED_NAMESPACE
}
// --