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

Unified Diff: import/cross/memory_stream.h

Issue 159168: This fixes a number of things that are warnings in the Mac compiler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 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
Index: import/cross/memory_stream.h
===================================================================
--- import/cross/memory_stream.h (revision 21208)
+++ import/cross/memory_stream.h (working copy)
@@ -55,13 +55,13 @@
class MemoryReadStream {
public:
MemoryReadStream(const uint8 *memory, size_t n)
- : memory_(memory), length_(n), read_index_(0) {}
+ : memory_(memory), read_index_(0), length_(n) {}
// Explicit copy constructor
MemoryReadStream(const MemoryReadStream &stream)
: memory_(stream.memory_),
- length_(stream.length_),
- read_index_(stream.read_index_) {}
+ read_index_(stream.read_index_),
+ length_(stream.length_) {}
virtual ~MemoryReadStream() {}
@@ -179,13 +179,13 @@
MemoryWriteStream() : memory_(NULL), write_index_(0), length_(0) {}
MemoryWriteStream(uint8 *memory, size_t n)
- : memory_(memory), length_(n), write_index_(0) {}
+ : memory_(memory), write_index_(0), length_(n) {}
// Explicit copy constructor
MemoryWriteStream(const MemoryWriteStream &stream)
: memory_(stream.memory_),
- length_(stream.length_),
- write_index_(stream.write_index_) {}
+ write_index_(stream.write_index_),
+ length_(stream.length_) {}
virtual ~MemoryWriteStream() {}

Powered by Google App Engine
This is Rietveld 408576698