| 54 | } |
| 55 | |
| 56 | void AllProjects::Add( const value_type &pProject ) |
| 57 | { |
| 58 | if (!pProject) { |
| 59 | wxASSERT(false); |
| 60 | return; |
| 61 | } |
| 62 | std::lock_guard<std::mutex> guard{ Mutex() }; |
| 63 | gAudacityProjects.push_back( pProject ); |
| 64 | } |
| 65 | |
| 66 | std::mutex &AllProjects::Mutex() |
| 67 | { |
no test coverage detected