Initialize timestamp based on initial load.
authorScott Cantor <cantor.2@osu.edu>
Tue, 8 May 2007 21:24:39 +0000 (21:24 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 8 May 2007 21:24:39 +0000 (21:24 +0000)
xmltooling/util/ReloadableXMLFile.cpp

index 054e3d2..6a35afa 100644 (file)
@@ -124,6 +124,7 @@ ReloadableXMLFile::ReloadableXMLFile(const DOMElement* e, Category& log)
                     m_lock=RWLock::create();\r
                 }\r
             }\r
+            m_filestamp = time(NULL);   // assume it gets loaded initially\r
         }\r
     }\r
     else {\r