changeset 1196:669bb978d52e db-changes

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 23 Oct 2014 13:18:26 +0200
parents d49505e377e3
children 61b71ccac362
files OrthancServer/ServerIndex.cpp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.cpp	Thu Sep 25 17:50:06 2014 +0200
+++ b/OrthancServer/ServerIndex.cpp	Thu Oct 23 13:18:26 2014 +0200
@@ -82,7 +82,7 @@
         }
       };
 
-      struct Change
+      struct ServerIndexChange
       {
       private:
         ChangeType   changeType_;
@@ -90,7 +90,7 @@
         std::string  publicId_;
 
       public:
-        Change(ChangeType changeType,
+        ServerIndexChange(ChangeType changeType,
                ResourceType resourceType,
                const std::string&  publicId) :
           changeType_(changeType),
@@ -120,7 +120,7 @@
       ResourceType remainingType_;
       std::string remainingPublicId_;
       std::list<FileToRemove> pendingFilesToRemove_;
-      std::list<Change> pendingChanges_;
+      std::list<ServerIndexChange> pendingChanges_;
       uint64_t sizeOfFilesToRemove_;
       bool insideTransaction_;
 
@@ -170,7 +170,7 @@
 
       void CommitChanges()
       {
-        for (std::list<Change>::const_iterator 
+        for (std::list<ServerIndexChange>::const_iterator 
                it = pendingChanges_.begin(); 
              it != pendingChanges_.end(); it++)
         {
@@ -215,7 +215,7 @@
 
         if (insideTransaction_)
         {
-          pendingChanges_.push_back(Change(changeType, resourceType, publicId));
+          pendingChanges_.push_back(ServerIndexChange(changeType, resourceType, publicId));
         }
         else
         {