chore: arch: Remove XArch exception class

XArch no longer contains any extra functionality in addition to what
std::runtime_error nor it signifies a particular type of error.
based-on: 5b991692af
ported-by: sithlord48
This commit is contained in:
Povilas Kanapickas
2025-05-25 02:13:57 -04:00
committed by Nick Bolton
parent cab1eb9cee
commit 5ee3fc41bd
8 changed files with 41 additions and 51 deletions

View File

@ -104,7 +104,7 @@ XWindowsScreen::XWindowsScreen(
if (!disableXInitThreads) {
// initializes Xlib support for concurrent threads.
if (XInitThreads() == 0)
throw XArch("XInitThreads() returned zero");
throw std::runtime_error("XInitThreads() returned zero");
} else {
LOG((CLOG_DEBUG "skipping XInitThreads()"));
}