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;

2
third_party/cxxopts vendored

@ -1 +1 @@
Subproject commit 48e265dc4b347d3178e4458de81704e0d88047b2 Subproject commit 2e3c6991d33811878ebcc0839d3815850d129b3a