[Box Backup-commit] COMMIT r2770 - in box/invisnet/vs2010/0.11/lib: backupclient backupstore common server
subversion at boxbackup.org
subversion at boxbackup.org
Sun Oct 3 04:57:21 BST 2010
Author: invisnet
Date: 2010-10-03 04:57:21 +0100 (Sun, 03 Oct 2010)
New Revision: 2770
Modified:
box/invisnet/vs2010/0.11/lib/backupclient/BackupStoreDirectory.h
box/invisnet/vs2010/0.11/lib/backupstore/BackupStoreAccounts.h
box/invisnet/vs2010/0.11/lib/common/IOStreamGetLine.h
box/invisnet/vs2010/0.11/lib/common/MemLeakFinder.h
box/invisnet/vs2010/0.11/lib/server/Protocol.h
Log:
VS2010 gets upset if there's no assignment operator....
Modified: box/invisnet/vs2010/0.11/lib/backupclient/BackupStoreDirectory.h
===================================================================
--- box/invisnet/vs2010/0.11/lib/backupclient/BackupStoreDirectory.h 2010-10-03 03:40:08 UTC (rev 2769)
+++ box/invisnet/vs2010/0.11/lib/backupclient/BackupStoreDirectory.h 2010-10-03 03:57:21 UTC (rev 2770)
@@ -165,6 +165,7 @@
: mrDir(rDir), i(rDir.mEntries.begin())
{
}
+ Iterator& operator =(const Iterator&);
BackupStoreDirectory::Entry *Next(int16_t FlagsMustBeSet = Entry::Flags_INCLUDE_EVERYTHING, int16_t FlagsNotToBeSet = Entry::Flags_EXCLUDE_NOTHING)
{
@@ -217,6 +218,7 @@
: mrDir(rDir), i(rDir.mEntries.rbegin())
{
}
+ ReverseIterator &operator=(const ReverseIterator &rToCopy);
BackupStoreDirectory::Entry *Next(int16_t FlagsMustBeSet = Entry::Flags_INCLUDE_EVERYTHING, int16_t FlagsNotToBeSet = Entry::Flags_EXCLUDE_NOTHING)
{
Modified: box/invisnet/vs2010/0.11/lib/backupstore/BackupStoreAccounts.h
===================================================================
--- box/invisnet/vs2010/0.11/lib/backupstore/BackupStoreAccounts.h 2010-10-03 03:40:08 UTC (rev 2769)
+++ box/invisnet/vs2010/0.11/lib/backupstore/BackupStoreAccounts.h 2010-10-03 03:57:21 UTC (rev 2770)
@@ -29,6 +29,7 @@
~BackupStoreAccounts();
private:
BackupStoreAccounts(const BackupStoreAccounts &rToCopy);
+ BackupStoreAccounts& operator=(const BackupStoreAccounts &rToCopy);
public:
void Create(int32_t ID, int DiscSet, int64_t SizeSoftLimit, int64_t SizeHardLimit, const std::string &rAsUsername);
Modified: box/invisnet/vs2010/0.11/lib/common/IOStreamGetLine.h
===================================================================
--- box/invisnet/vs2010/0.11/lib/common/IOStreamGetLine.h 2010-10-03 03:40:08 UTC (rev 2769)
+++ box/invisnet/vs2010/0.11/lib/common/IOStreamGetLine.h 2010-10-03 03:57:21 UTC (rev 2770)
@@ -39,6 +39,7 @@
~IOStreamGetLine();
private:
IOStreamGetLine(const IOStreamGetLine &rToCopy);
+ IOStreamGetLine& operator=(const IOStreamGetLine &rToCopy);
public:
bool GetLine(std::string &rOutput, bool Preprocess = false, int Timeout = IOStream::TimeOutInfinite);
Modified: box/invisnet/vs2010/0.11/lib/common/MemLeakFinder.h
===================================================================
--- box/invisnet/vs2010/0.11/lib/common/MemLeakFinder.h 2010-10-03 03:40:08 UTC (rev 2769)
+++ box/invisnet/vs2010/0.11/lib/common/MemLeakFinder.h 2010-10-03 03:57:21 UTC (rev 2770)
@@ -51,6 +51,9 @@
void *operator new (size_t size, const char *file, int line);
void *operator new[](size_t size, const char *file, int line);
+void operator delete (void *pMem, const char *file, int line) throw();
+void operator delete[](void *pMem, const char *file, int line) throw();
+
// define the malloc functions now, if required
#ifdef MEMLEAKFINDER_FULL_MALLOC_MONITORING
#define malloc(X) memleakfinder_malloc(X, __FILE__, __LINE__)
Modified: box/invisnet/vs2010/0.11/lib/server/Protocol.h
===================================================================
--- box/invisnet/vs2010/0.11/lib/server/Protocol.h 2010-10-03 03:40:08 UTC (rev 2769)
+++ box/invisnet/vs2010/0.11/lib/server/Protocol.h 2010-10-03 03:57:21 UTC (rev 2770)
@@ -39,6 +39,7 @@
private:
Protocol(const Protocol &rToCopy);
+ Protocol& operator=(const Protocol &rToCopy);
public:
void Handshake();
More information about the Boxbackup-commit
mailing list