summaryrefslogtreecommitdiff
path: root/src/binary-reader.cc
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-02-24 10:45:40 -0800
committerGitHub <noreply@github.com>2017-02-24 10:45:40 -0800
commit25f189ffdbd953f7799ad98ea2d62fc822e54728 (patch)
tree4aa4668806d818c3a40a2ae1504d61e00c3514cc /src/binary-reader.cc
parentb86721bdeb746ff86db73385f449a4af882501b2 (diff)
downloadwabt-25f189ffdbd953f7799ad98ea2d62fc822e54728.tar.gz
wabt-25f189ffdbd953f7799ad98ea2d62fc822e54728.tar.bz2
wabt-25f189ffdbd953f7799ad98ea2d62fc822e54728.zip
Change NULL -> nullptr (#315)
Also switch to using C++11.
Diffstat (limited to 'src/binary-reader.cc')
-rw-r--r--src/binary-reader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader.cc b/src/binary-reader.cc
index 704886ad..8485d0d5 100644
--- a/src/binary-reader.cc
+++ b/src/binary-reader.cc
@@ -448,11 +448,11 @@ static void write_indent(LoggingContext* ctx) {
static size_t s_indent_len = sizeof(s_indent) - 1;
size_t indent = ctx->indent;
while (indent > s_indent_len) {
- wabt_write_data(ctx->stream, s_indent, s_indent_len, NULL);
+ wabt_write_data(ctx->stream, s_indent, s_indent_len, nullptr);
indent -= s_indent_len;
}
if (indent > 0) {
- wabt_write_data(ctx->stream, s_indent, indent, NULL);
+ wabt_write_data(ctx->stream, s_indent, indent, nullptr);
}
}