Use () instead of {} for initialization in constructors
Using {} syntax for direct initialization of reference types in constructor member initialization lists is broken on some compilers, even though it's valid C++11 code. Use () to ensure correctness.
parent
7ab609f1
No related branches found
No related tags found
Loading
Please register or sign in to comment