summaryrefslogtreecommitdiffstats
path: root/compiler/buffered_output_stream.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-08 17:27:48 -0700
committerIan Rogers <irogers@google.com>2014-10-09 08:25:34 -0700
commit0279ebb3efd653e6bb255470c99d26949c7bcd95 (patch)
treed58b29754f7b3c88616e6e4d6c19346821d244ae /compiler/buffered_output_stream.h
parentf1f05d303988a5c071c87b760056be8358276c94 (diff)
downloadart-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.h2
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);