From 2fe649146b6b17324ed71ac839180d09b22725b3 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 3 Dec 2016 12:07:05 +0100 Subject: [PATCH] fix msvc warning which also indicated a bug --- source/styles/number_format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/styles/number_format.cpp b/source/styles/number_format.cpp index d8a7e487..16bed945 100644 --- a/source/styles/number_format.cpp +++ b/source/styles/number_format.cpp @@ -299,7 +299,7 @@ void number_format::format_string(const std::string &format_string, std::size_t bool number_format::has_id() const { - return id_; + return id_set_; } void number_format::id(std::size_t id)