Make Uncopyable derivations public

This commit is contained in:
Vinnie Falco committed 2013-08-07 15:16:38 -07:00
1 parent cc9358ee95
commit 9aaaa6aef0
73 files changed
+105 -106

No files matched your search

@@ -148,7 +148,7 @@ bool File::moveToTrash() const
}
//==============================================================================
class DirectoryIterator::NativeIterator::Pimpl : Uncopyable
class DirectoryIterator::NativeIterator::Pimpl : public Uncopyable
{
public:
Pimpl (const File& directory, const String& wildCard_)
@@ -167,7 +167,7 @@ namespace
}
//==============================================================================
class JNIClassBase : Uncopyable
class JNIClassBase : public Uncopyable
{
public:
explicit JNIClassBase (const char* classPath);
@@ -241,7 +241,7 @@ bool File::moveToTrash() const
}
//==============================================================================
class DirectoryIterator::NativeIterator::Pimpl : Uncopyable
class DirectoryIterator::NativeIterator::Pimpl : public Uncopyable
{
public:
Pimpl (const File& directory, const String& wildCard_)
@@ -241,7 +241,7 @@ bool File::moveToTrash() const
}
//==============================================================================
class DirectoryIterator::NativeIterator::Pimpl : Uncopyable
class DirectoryIterator::NativeIterator::Pimpl : public Uncopyable
{
public:
Pimpl (const File& directory, const String& wildCard_)
+1 -1
View File
@@ -308,7 +308,7 @@ bool File::moveToTrash() const
}
//==============================================================================
class DirectoryIterator::NativeIterator::Pimpl : Uncopyable
class DirectoryIterator::NativeIterator::Pimpl : public Uncopyable
{
public:
Pimpl (const File& directory, const String& wildCard_)
@@ -100,7 +100,7 @@ bool Process::openEmailWithAttachments (const String& targetEmailAddress,
class URLConnectionState
: public Thread
, LeakChecked <URLConnectionState>
, Uncopyable
, public Uncopyable
{
public:
URLConnectionState (NSURLRequest* req)
@@ -64,7 +64,7 @@ struct NSObjectRetainer
//==============================================================================
template <typename SuperclassType>
struct ObjCClass : Uncopyable
struct ObjCClass : public Uncopyable
{
ObjCClass (const char* nameRoot)
: cls (objc_allocateClassPair ([SuperclassType class], getRandomisedName (nameRoot).toUTF8(), 0))
@@ -21,7 +21,7 @@
*/
//==============================================================================
class NamedPipe::Pimpl : LeakChecked <Pimpl>, Uncopyable
class NamedPipe::Pimpl : LeakChecked <Pimpl>, public Uncopyable
{
public:
Pimpl (const String& pipePath, bool createPipe)
@@ -1169,7 +1169,7 @@ void* DynamicLibrary::getFunction (const String& functionName) noexcept
//==============================================================================
class ChildProcess::ActiveProcess : LeakChecked <ActiveProcess>, Uncopyable
class ChildProcess::ActiveProcess : LeakChecked <ActiveProcess>, public Uncopyable
{
public:
ActiveProcess (const StringArray& arguments)
@@ -1298,7 +1298,7 @@ bool ChildProcess::kill()
}
//==============================================================================
struct HighResolutionTimer::Pimpl : Uncopyable
struct HighResolutionTimer::Pimpl : public Uncopyable
{
Pimpl (HighResolutionTimer& t) : owner (t), thread (0), shouldStop (false)
{
@@ -786,7 +786,7 @@ bool File::createLink (const String& description, const File& linkFileToCreate)
//==============================================================================
class DirectoryIterator::NativeIterator::Pimpl
: LeakChecked <DirectoryIterator::NativeIterator::Pimpl>
, Uncopyable
, public Uncopyable
{
public:
Pimpl (const File& directory, const String& wildCard)
@@ -888,7 +888,7 @@ void File::revealToUser() const
}
//==============================================================================
class NamedPipe::Pimpl : LeakChecked <NamedPipe::Pimpl>, Uncopyable
class NamedPipe::Pimpl : LeakChecked <NamedPipe::Pimpl>, public Uncopyable
{
public:
Pimpl (const String& pipeName, const bool createPipe)
@@ -21,7 +21,7 @@
*/
//==============================================================================
struct RegistryKeyWrapper : Uncopyable
struct RegistryKeyWrapper : public Uncopyable
{
RegistryKeyWrapper (String name, const bool createForWriting, const DWORD wow64Flags)
: key (0), wideCharValueName (nullptr)
@@ -461,7 +461,7 @@ void InterProcessLock::exit()
}
//==============================================================================
class ChildProcess::ActiveProcess : LeakChecked <ChildProcess::ActiveProcess>, Uncopyable
class ChildProcess::ActiveProcess : LeakChecked <ChildProcess::ActiveProcess>, public Uncopyable
{
public:
ActiveProcess (const String& command)
@@ -584,7 +584,7 @@ bool ChildProcess::kill()
}
//==============================================================================
struct HighResolutionTimer::Pimpl : Uncopyable
struct HighResolutionTimer::Pimpl : public Uncopyable
{
Pimpl (HighResolutionTimer& t) noexcept : owner (t), periodMs (0)
{