Update to latest version of cxxopts

This commit is contained in:
chss95cs@gmail.com
2022-09-30 06:51:25 -07:00
parent b4c175d8a3
commit bae63b95c5
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
*/ */
#include "xenia/base/cvar.h" #include "xenia/base/cvar.h"
#include <iostream>
#define UTF_CPP_CPLUSPLUS 201703L #define UTF_CPP_CPLUSPLUS 201703L
#include "third_party/utfcpp/source/utf8.h" #include "third_party/utfcpp/source/utf8.h"
@@ -87,7 +87,7 @@ void ParseLaunchArguments(int& argc, char**& argv,
configVar->LoadFromLaunchOptions(&result); configVar->LoadFromLaunchOptions(&result);
} }
} }
} catch (const cxxopts::OptionException& e) { } catch (const cxxopts::exceptions::exception& e) {
xe::AttachConsole(); xe::AttachConsole();
if (xe::has_console_attached()) { if (xe::has_console_attached()) {
std::cout << e.what() << std::endl; std::cout << e.what() << std::endl;