summaryrefslogtreecommitdiff
path: root/src/binary-writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-writer.cc')
-rw-r--r--src/binary-writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binary-writer.cc b/src/binary-writer.cc
index 93db5b19..41b682a7 100644
--- a/src/binary-writer.cc
+++ b/src/binary-writer.cc
@@ -96,7 +96,7 @@ namespace {
/* TODO(binji): better leb size guess. Some sections we know will only be 1
byte, but others we can be fairly certain will be larger. */
-static const size_t LEB_SECTION_SIZE_GUESS = 1;
+constexpr size_t LEB_SECTION_SIZE_GUESS = 1;
#define ALLOC_FAILURE \
fprintf(stderr, "%s:%d: allocation failed\n", __FILE__, __LINE__)