mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-18 02:08:09 +08:00
Revert "quick temporary patch for comment dup"
This reverts commit a6d38c1ec0
.
Since the problem is solved, we don't need this patch any more.
This commit is contained in:
@@ -651,7 +651,7 @@ struct serializer
|
||||
tmp += '\n';
|
||||
}
|
||||
|
||||
if(!kv.second.comments().empty() && !no_comment_ && tmp.front() != '#')
|
||||
if(!kv.second.comments().empty() && !no_comment_)
|
||||
{
|
||||
for(const auto& c : kv.second.comments())
|
||||
{
|
||||
|
Reference in New Issue
Block a user