This was because CLion had an some issues with initialization lists, and kept warning me that the latter is wrong. Now that the bug is fixed, my code style is changing.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I noticed that when writing C++ is CLion, I tend to initialize member reference variables with
()
instead of{}
.This was because CLion had an some issues with initialization lists, and kept warning me that the latter is wrong. Now that the bug is fixed, my code style is changing.