mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Replaced all usage of ScopedPointer with std::unique_ptr
This commit is contained in:
parent
e6104e3fed
commit
ab863a6dc2
401 changed files with 1091 additions and 1113 deletions
|
|
@ -98,8 +98,8 @@ public:
|
|||
|
||||
private:
|
||||
//==============================================================================
|
||||
ScopedPointer<OSCMessage> message;
|
||||
ScopedPointer<OSCBundle> bundle;
|
||||
std::unique_ptr<OSCMessage> message;
|
||||
std::unique_ptr<OSCBundle> bundle;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@ private:
|
|||
struct Pimpl;
|
||||
friend struct Pimpl;
|
||||
friend struct ContainerDeletePolicy<Pimpl>;
|
||||
ScopedPointer<Pimpl> pimpl;
|
||||
std::unique_ptr<Pimpl> pimpl;
|
||||
friend struct OSCReceiverCallbackMessage;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OSCReceiver)
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ private:
|
|||
struct Pimpl;
|
||||
friend struct Pimpl;
|
||||
friend struct ContainerDeletePolicy<Pimpl>;
|
||||
ScopedPointer<Pimpl> pimpl;
|
||||
std::unique_ptr<Pimpl> pimpl;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OSCSender)
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue