Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
pal.cpp: use default implementation for constructor and destructor
It is obvious that the constructor was a no-op. Regarding the destructor, taking a mutex around an object doesn't make sense because both the mutex and the object are member variables, so if the pal object is used correctly, the destructor should only be called after any other use of the object. And explicit clearing of a unordered_map is unnecessary.
- Loading branch information