Support Board
Date/Time: Wed, 12 Feb 2025 09:51:48 +0000
Post From: declared as reference but not initialized -- Error
[2020-10-09 19:31:54] |
norvik_ - Posts: 106 |
Hi, in c++ is impossible to declare references without being initiated. Should be something like this n_ACSIL::s_ChartSessionTimes& chartTime = n_ACSIL::s_ChartSessionTimes() ;//default constructor may be..
And in your case it is not necessary for declaration ChartTime as reference. Should be declared as variable. n_ACSIL::s_ChartSessionTimes chartTime; Date Time Of Last Edit: 2020-10-09 20:36:37
|