mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
Replacing std::exception with std::runtime_error
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
SystemThread& SystemThreadManager::create_thread(const std::string& name) {
|
||||
if (thread_count >= MAX_SYSTEM_THREADS) {
|
||||
throw std::exception("Out of System Threads! Please increase MAX_SYSTEM_THREADS");
|
||||
throw std::runtime_error("Out of System Threads! Please increase MAX_SYSTEM_THREADS");
|
||||
}
|
||||
auto& thread = threads[thread_count];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user