diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:58:44 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-01-22 00:58:44 +0000 |
commit | 152a13175cea8ec9407b32e7457ee6dec47e76a4 (patch) | |
tree | 0068861a04acc83ba7503d7a6e7312e15eca212f /bin/bbackupd | |
parent | 1a4b0af5024d18da8e2213093124401709fce418 (diff) |
Sun CC compile fix: doesn't like assigning an iterator to a const_iterator.
Diffstat (limited to 'bin/bbackupd')
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 04502427..e762bbdc 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -1757,7 +1757,7 @@ void BackupDaemon::SetupLocations(BackupClientContext &rClientContext, const Con ASSERT(mountPoints.size() > 0); #ifndef NDEBUG { - std::set<std::string, mntLenCompare>::const_reverse_iterator i(mountPoints.rbegin()); + std::set<std::string, mntLenCompare>::reverse_iterator i(mountPoints.rbegin()); ASSERT(*i == "/"); } #endif // n NDEBUG |