From 9c1bfbd5ebf9d35fe5ba38a3d856f26df48e5a9f Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sun, 2 Dec 2018 21:03:08 +0900 Subject: [PATCH] make region::source immutable --- toml/region.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toml/region.hpp b/toml/region.hpp index e9ced53..5221697 100644 --- a/toml/region.hpp +++ b/toml/region.hpp @@ -28,7 +28,7 @@ struct location location& operator=(location&&) = default; ~location() = default; - std::shared_ptr source; + std::shared_ptr source; const_iterator iter; }; @@ -55,7 +55,7 @@ struct region ~region() = default; const_iterator first, last; - std::shared_ptr source; + std::shared_ptr source; }; // to show a better error message.