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

Side by Side Diff: net/base/int128.cc

Issue 1510173006: remove a few static initializers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/views/animation/ink_drop_animation_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/int128.h" 5 #include "net/base/int128.h"
6 6
7 #include <iostream> 7 #include <ostream>
8 8
9 const uint128_pod kuint128max = {static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL), 9 const uint128_pod kuint128max = {static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL),
10 static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL)}; 10 static_cast<uint64_t>(0xFFFFFFFFFFFFFFFFULL)};
11 11
12 std::ostream& operator<<(std::ostream& o, const uint128& b) { 12 std::ostream& operator<<(std::ostream& o, const uint128& b) {
13 return (o << b.hi_ << "::" << b.lo_); 13 return (o << b.hi_ << "::" << b.lo_);
14 } 14 }
OLDNEW
« no previous file with comments | « no previous file | ui/views/animation/ink_drop_animation_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698