You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
....
note: candidate constructor not viable: cannot convert from base class pointer 'AtomicNode<tqdm::Sink> *' to derived class pointer 'tqdm::Sink *' for 1st argument
AtomicNode(Node *next, Node *prev);
The static_cast hides this programming error and makes it a runtime error. I assume that the code was running fine as this variable is never used.
The text was updated successfully, but these errors were encountered:
There is an address sanitizer error in the following code in
utils.h
:The error happens when
AtomicList
is constructed inside an unused variable:standard_sink(SinkOptions(STDERR_FILENO))
.Here is the error message:
Removing
static_cast
actually unveils the error. Removestatic_cast
in the lines above to get:And here is the error:
The
static_cast
hides this programming error and makes it a runtime error. I assume that the code was running fine as this variable is never used.The text was updated successfully, but these errors were encountered: