Drop xrt::drivers namespace

This commit is contained in:
Patrick Nicolas
2024-10-03 23:39:32 +02:00
parent 6946d5144a
commit fdb79b1939
78 changed files with 260 additions and 260 deletions
+2 -2
View File
@@ -36,7 +36,7 @@
static std::filesystem::path config_file = xdg_config_home() / "wivrn" / "config.json";
static std::filesystem::path cookie_file = xdg_config_home() / "wivrn" / "cookie";
namespace xrt::drivers::wivrn
namespace wivrn
{
NLOHMANN_JSON_SERIALIZE_ENUM(
video_codec,
@@ -102,7 +102,7 @@ configuration configuration::read_user_configuration()
SET_IF(offset_y);
SET_IF(group);
SET_IF(codec);
if (e.codec == xrt::drivers::wivrn::video_codec(-1))
if (e.codec == wivrn::video_codec(-1))
throw std::runtime_error("invalid codec value " + encoder["codec"].get<std::string>());
SET_IF(options);
SET_IF(device);