diff --git a/src/core/RagePhoto.hpp b/src/core/RagePhoto.hpp index 39042cc..ad1b52d 100644 --- a/src/core/RagePhoto.hpp +++ b/src/core/RagePhoto.hpp @@ -34,12 +34,12 @@ typedef ragephoto::photo RagePhoto; typedef ragephoto::photo RagePhoto; #else #include "ragephoto_c.hpp" -typedef ragephoto::c_wrapper::photo RagePhoto; +typedef ragephoto_c::photo RagePhoto; #endif // LIBRAGEPHOTO_PREFER_NATIVE #endif // LIBRAGEPHOTO_STATIC #elif defined LIBRAGEPHOTO_C_ONLY #include "ragephoto_c.hpp" -typedef ragephoto::c_wrapper::photo RagePhoto; +typedef ragephoto_c::photo RagePhoto; #else #error "Could not determine best RagePhoto implementation, libragephoto installation might be corrupt!" #endif // LIBRAGEPHOTO_CXX_ONLY diff --git a/src/core/ragephoto_c.hpp b/src/core/ragephoto_c.hpp index 583c65d..23a051d 100644 --- a/src/core/ragephoto_c.hpp +++ b/src/core/ragephoto_c.hpp @@ -24,8 +24,7 @@ #include #include -namespace ragephoto { -namespace c_wrapper { +namespace ragephoto_c { /** * \brief GTA V and RDR 2 Photo Parser (C API wrapper). @@ -346,8 +345,7 @@ private: ragephoto_t instance; }; -} // c_wrapper -} // ragephoto +} // ragephoto_c #endif // __cplusplus #endif // RAGEPHOTO_C_HPP