Using C ++, in one of my destructors, I say
mutex = NULL;
This results in a " No viable overloaded '='" error in my Xcode.
The same mutex was previously initialized in the constructor as
mutex = PTHREAD_MUTEX_INITIALIZER;
Please advise how I can properly handle this as part of a C ++ destructor
source
share