Index: webrtc/base/win32filesystem.cc |
diff --git a/webrtc/base/win32filesystem.cc b/webrtc/base/win32filesystem.cc |
index ac49c640752a52a3b7a0c632fda97ec611723291..adf8b8e0ba1add2935e652d593213bc77296df7a 100644 |
--- a/webrtc/base/win32filesystem.cc |
+++ b/webrtc/base/win32filesystem.cc |
@@ -18,6 +18,7 @@ |
#include <memory> |
#include "webrtc/base/arraysize.h" |
+#include "webrtc/base/checks.h" |
#include "webrtc/base/fileutils.h" |
#include "webrtc/base/pathutils.h" |
#include "webrtc/base/stream.h" |
@@ -117,7 +118,7 @@ std::string Win32Filesystem::TempFilename(const Pathname &dir, |
if (::GetTempFileName(ToUtf16(dir.pathname()).c_str(), |
ToUtf16(prefix).c_str(), 0, filename) != 0) |
return ToUtf8(filename); |
- ASSERT(false); |
+ RTC_NOTREACHED(); |
return ""; |
} |