Compiler warns about initializing reference with temporary in astrocyte_lr_1994 #3137
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: High
Should be handled next
T: Bug
Wrong statements in the code or documentation
Projects
Milestone
The newest AppleClang (15.0.0.15000309) warns about assigning the result of a temporary expression evaluation result to a reference:
nest-simulator/models/astrocyte_lr_1994.cpp
Lines 84 to 89 in 5639572
conc
should be a proper variable. The two references above and below are fine, since they point to vector elements.The text was updated successfully, but these errors were encountered: