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

Unified Diff: net/base/int128.cc

Issue 1502503004: Remove kuint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kint8
Patch Set: rebase Created 5 years 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
Index: net/base/int128.cc
diff --git a/net/base/int128.cc b/net/base/int128.cc
index 94275eb6ecb9ee7de852a542124769918d4afd4d..64f64218ee183434d5ff99c25df5e9c804f171d8 100644
--- a/net/base/int128.cc
+++ b/net/base/int128.cc
@@ -2,14 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <iostream>
-#include "base/basictypes.h"
#include "net/base/int128.h"
-const uint128_pod kuint128max = {
- static_cast<uint64>(0xFFFFFFFFFFFFFFFFULL),
- static_cast<uint64>(0xFFFFFFFFFFFFFFFFULL)
-};
+#include <iostream>
+
+const uint128_pod kuint128max = {static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL),
+ static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL)};
std::ostream& operator<<(std::ostream& o, const uint128& b) {
return (o << b.hi_ << "::" << b.lo_);

Powered by Google App Engine
This is Rietveld 408576698