Skip to content
Snippets Groups Projects
Commit ba61bcf0 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[NL] Extrp; Change initialization of CachedData.

From the standard: If the initializer list has no elements and T is
a class type with a default ctor, the object is value-initialized.

The warning appearing in gcc-4.9 is due to a c++11 defect
fixed in
http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#1324
which points to
http://open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#1301.

The warning is fixed in later versions of gcc:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55805
parent d6d677c6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment