mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-01-09 00:50:17 +00:00
79c125b54f
This patch addresses a static analysis issue reported by Cppcheck 2.9 where several classes in the toml/datetime.hpp header explicitly default all their special member functions, including the default constructor, but don't provide initializers for their data members. This might or might not have caused any observable surprising behavior but I agree with Cppcheck on this one in that an explicitly defaulted default constructor should be expected to initialize all data members. So let's do that. |
||
---|---|---|
.. | ||
color.hpp | ||
combinator.hpp | ||
comments.hpp | ||
datetime.hpp | ||
exception.hpp | ||
from.hpp | ||
get.hpp | ||
into.hpp | ||
lexer.hpp | ||
literal.hpp | ||
macros.hpp | ||
parser.hpp | ||
region.hpp | ||
result.hpp | ||
serializer.hpp | ||
source_location.hpp | ||
storage.hpp | ||
string.hpp | ||
traits.hpp | ||
types.hpp | ||
utility.hpp | ||
value.hpp | ||
version.hpp |