mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-22 14:24:33 +01:00
Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace * Move RideConstructionState into the OpenRCT2 namespace * Adopt existing namespaces into OpenRCT2 namespace This adds `using namespace OpenRCT2` to compilation units where appropriate, as a means to get the codebase to compile until these units have been placed in a namespace of their own.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# include <string>
|
||||
# include <vector>
|
||||
|
||||
using namespace Crypt;
|
||||
using namespace OpenRCT2::Crypt;
|
||||
|
||||
static void OpenSSLThrowOnBadStatus(std::string_view name, int status)
|
||||
{
|
||||
@@ -326,7 +326,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
namespace Crypt
|
||||
namespace OpenRCT2::Crypt
|
||||
{
|
||||
std::unique_ptr<Sha1Algorithm> CreateSHA1()
|
||||
{
|
||||
@@ -351,7 +351,7 @@ namespace Crypt
|
||||
OpenSSLInitialise();
|
||||
return std::make_unique<OpenSSLRsaKey>();
|
||||
}
|
||||
} // namespace Crypt
|
||||
} // namespace OpenRCT2::Crypt
|
||||
|
||||
# pragma GCC diagnostic pop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user