diff options
author | Ian Rogers <irogers@google.com> | 2014-10-08 17:27:48 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-10-09 08:25:34 -0700 |
commit | 0279ebb3efd653e6bb255470c99d26949c7bcd95 (patch) | |
tree | d58b29754f7b3c88616e6e4d6c19346821d244ae /compiler/buffered_output_stream.h | |
parent | f1f05d303988a5c071c87b760056be8358276c94 (diff) | |
download | art-0279ebb3efd653e6bb255470c99d26949c7bcd95.zip art-0279ebb3efd653e6bb255470c99d26949c7bcd95.tar.gz art-0279ebb3efd653e6bb255470c99d26949c7bcd95.tar.bz2 |
Tidy ELF builder.
Don't do "if (ptr)". Use const. Use DISALLOW_COPY_AND_ASSIGN. Avoid public
member variables.
Move ValueObject to base and use in ELF builder.
Tidy VectorOutputStream to not use non-const reference arguments.
Change-Id: I2c727c3fc61769c3726de7cfb68b2d6eb4477e53
Diffstat (limited to 'compiler/buffered_output_stream.h')
-rw-r--r-- | compiler/buffered_output_stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/buffered_output_stream.h b/compiler/buffered_output_stream.h index 75a3f24..bbc49df 100644 --- a/compiler/buffered_output_stream.h +++ b/compiler/buffered_output_stream.h @@ -23,7 +23,7 @@ namespace art { -class BufferedOutputStream : public OutputStream { +class BufferedOutputStream FINAL : public OutputStream { public: explicit BufferedOutputStream(OutputStream* out); |