Index: src/ports/SkOSFile_win.cpp |
diff --git a/src/ports/SkOSFile_win.cpp b/src/ports/SkOSFile_win.cpp |
index a544168c84b36788087be8b93bdb4883ed7ddfb7..62510e7a4e705ceec32bc1d85dd38f6ab69903d5 100644 |
--- a/src/ports/SkOSFile_win.cpp |
+++ b/src/ports/SkOSFile_win.cpp |
@@ -128,7 +128,7 @@ struct SkOSFileIterData { |
HANDLE fHandle; |
uint16_t* fPath16; |
}; |
-SK_COMPILE_ASSERT(sizeof(SkOSFileIterData) <= SkOSFile::Iter::kStorageSize, not_enough_space); |
+static_assert(sizeof(SkOSFileIterData) <= SkOSFile::Iter::kStorageSize, "not_enough_space"); |
static uint16_t* concat_to_16(const char src[], const char suffix[]) { |
size_t i, len = strlen(src); |