summaryrefslogtreecommitdiffstats
path: root/src/jomlib/fastfileinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jomlib/fastfileinfo.cpp')
-rw-r--r--src/jomlib/fastfileinfo.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jomlib/fastfileinfo.cpp b/src/jomlib/fastfileinfo.cpp
index a71241c..928b489 100644
--- a/src/jomlib/fastfileinfo.cpp
+++ b/src/jomlib/fastfileinfo.cpp
@@ -31,11 +31,8 @@
namespace NMakeFile {
-template<bool> struct CompileTimeAssert;
-template<> struct CompileTimeAssert<true> {};
-static CompileTimeAssert<
- sizeof(FastFileInfo::InternalType) == sizeof(WIN32_FILE_ATTRIBUTE_DATA)
- > internal_type_has_wrong_size;
+static_assert(sizeof(FastFileInfo::InternalType) == sizeof(WIN32_FILE_ATTRIBUTE_DATA),
+ "FastFileInfo::InternalType has wrong size");
inline WIN32_FILE_ATTRIBUTE_DATA* z(FastFileInfo::InternalType &internalData)
{