Ver Fonte

cmTimestamp: Expose CreateTimestampFromTimeT publicly

Brad King há 7 anos atrás
pai
commit
4a8898cd6d
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      Source/cmTimestamp.h

+ 3 - 3
Source/cmTimestamp.h

@@ -23,12 +23,12 @@ public:
                                    const std::string& formatString,
                                    bool utcFlag);
 
-private:
-  time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const;
-
   std::string CreateTimestampFromTimeT(time_t timeT, std::string formatString,
                                        bool utcFlag) const;
 
+private:
+  time_t CreateUtcTimeTFromTm(struct tm& timeStruct) const;
+
   std::string AddTimestampComponent(char flag, struct tm& timeStruct,
                                     time_t timeT) const;
 };