From ff453e8e8311a1af25b91ddd746d41a8e34e980f Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 2 Jun 2017 09:59:51 -0300 Subject: [PATCH] Add default ctor to doc::Remap() --- src/doc/remap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/remap.h b/src/doc/remap.h index 5b9a6f1bf..e0f362543 100644 --- a/src/doc/remap.h +++ b/src/doc/remap.h @@ -1,5 +1,5 @@ // Aseprite Document Library -// Copyright (c) 2001-2016 David Capello +// Copyright (c) 2001-2017 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -18,7 +18,7 @@ namespace doc { class Remap { public: - Remap(int entries) : m_map(entries, 0) { } + Remap(int entries = 1) : m_map(entries, 0) { } int size() const { return (int)m_map.size();