mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
move the ctors back to private
This commit is contained in:
parent
69f8e15e21
commit
c89f68cb18
1 changed files with 2 additions and 2 deletions
|
@ -16,13 +16,13 @@ namespace geode {
|
|||
private:
|
||||
class Impl;
|
||||
std::shared_ptr<Impl> m_impl;
|
||||
explicit Hook(std::shared_ptr<Impl>&& impl);
|
||||
~Hook();
|
||||
|
||||
friend class Mod;
|
||||
friend class Loader;
|
||||
|
||||
public:
|
||||
explicit Hook(std::shared_ptr<Impl>&& impl);
|
||||
|
||||
/**
|
||||
* Create a hook at an address. The hook is enabled immediately. By
|
||||
|
@ -145,13 +145,13 @@ namespace geode {
|
|||
private:
|
||||
class Impl;
|
||||
std::shared_ptr<Impl> m_impl;
|
||||
explicit Patch(std::shared_ptr<Impl>&& impl);
|
||||
~Patch();
|
||||
|
||||
friend class Mod;
|
||||
friend class Loader;
|
||||
|
||||
public:
|
||||
explicit Patch(std::shared_ptr<Impl>&& impl);
|
||||
|
||||
static std::shared_ptr<Patch> create(void* address, const ByteVector& patch);
|
||||
|
||||
|
|
Loading…
Reference in a new issue