Index: net/disk_cache/blockfile/file_win.cc |
diff --git a/net/disk_cache/blockfile/file_win.cc b/net/disk_cache/blockfile/file_win.cc |
index bf313128b4631d5bb517a9c54d8fa6657b957c7d..ccc0439cc9d401afa1b523a47f71e75454be6f5c 100644 |
--- a/net/disk_cache/blockfile/file_win.cc |
+++ b/net/disk_cache/blockfile/file_win.cc |
@@ -26,7 +26,8 @@ struct MyOverlapped { |
disk_cache::FileIOCallback* callback_; |
}; |
-COMPILE_ASSERT(!offsetof(MyOverlapped, context_), starts_with_overlapped); |
+static_assert(!offsetof(MyOverlapped, context_), |
Deprecated (see juliatuttle)
2015/01/05 22:22:39
This would be clearer as "offsetof(...) == 0", if
Mostyn Bramley-Moore
2015/01/06 00:07:07
Done.
|
+ "should start with overlapped"); |
// Helper class to handle the IO completion notifications from the message loop. |
class CompletionHandler : public base::MessageLoopForIO::IOHandler { |