Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1557)

Unified Diff: base/tuple.h

Issue 1896533003: Correct a comment in tuple.h that tripped me up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/tuple.h
diff --git a/base/tuple.h b/base/tuple.h
index 78dfd751fa750acb90f4096e88d3ff9a11ebc06e..df69bf01169cf3784edb5605de2ba021795e3c7c 100644
--- a/base/tuple.h
+++ b/base/tuple.h
@@ -94,7 +94,7 @@ template <> struct MakeIndexSequenceImpl<13> {
using Type = IndexSequence<0,1,2,3,4,5,6,7,8,9,10,11,12>;
};
-#else // defined(WIN) && defined(_PREFAST_)
+#else // defined(OS_WIN) && defined(_PREFAST_)
template <size_t... Ns>
struct MakeIndexSequenceImpl<0, Ns...> {
@@ -105,7 +105,7 @@ template <size_t N, size_t... Ns>
struct MakeIndexSequenceImpl<N, Ns...>
: MakeIndexSequenceImpl<N - 1, N - 1, Ns...> {};
-#endif // defined(WIN) && defined(_PREFAST_)
+#endif // defined(OS_WIN) && defined(_PREFAST_)
template <size_t N>
using MakeIndexSequence = typename MakeIndexSequenceImpl<N>::Type;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698