Index: src/ports/SkOSFile_posix.cpp |
diff --git a/src/ports/SkOSFile_posix.cpp b/src/ports/SkOSFile_posix.cpp |
index 6f64478d0464d94992d5d356b6a27f6f386e4d57..b7cf583440ff7bd1e65622324ca2fec500dbd9a7 100644 |
--- a/src/ports/SkOSFile_posix.cpp |
+++ b/src/ports/SkOSFile_posix.cpp |
@@ -102,7 +102,7 @@ struct SkOSFileIterData { |
DIR* fDIR; |
SkString fPath, fSuffix; |
}; |
-SK_COMPILE_ASSERT(sizeof(SkOSFileIterData) <= SkOSFile::Iter::kStorageSize, not_enough_space); |
+static_assert(sizeof(SkOSFileIterData) <= SkOSFile::Iter::kStorageSize, "not_enough_space"); |
SkOSFile::Iter::Iter() { |
SkNEW_PLACEMENT(fSelf.get(), SkOSFileIterData); |