Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (3 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/engine/directorycache.h

    r130 r3185  
    1515*/
    1616
    17 #include <mutex.h>
     17#include <libfilezilla/mutex.hpp>
     18
    1819#include <set>
    1920
     
    3738
    3839        void Store(const CDirectoryListing &listing, const CServer &server);
    39         bool GetChangeTime(CMonotonicClock& time, const CServer &server, const CServerPath &path);
     40        bool GetChangeTime(fz::monotonic_clock& time, const CServer &server, const CServerPath &path);
    4041        bool Lookup(CDirectoryListing &listing, const CServer &server, const CServerPath &path, bool allowUnsureEntries, bool& is_outdated);
    4142        bool DoesExist(const CServer &server, const CServerPath &path, int &hasUnsureEntries, bool &is_outdated);
     
    5960                explicit CCacheEntry(CDirectoryListing const& l)
    6061                        : listing(l)
    61                         , modificationTime(CMonotonicClock::now())
     62                        , modificationTime(fz::monotonic_clock::now())
    6263                {}
    6364
    6465                CDirectoryListing listing;
    65                 CMonotonicClock modificationTime;
     66                fz::monotonic_clock modificationTime;
    6667
    6768                CCacheEntry& operator=(CCacheEntry const& a) = default;
     
    9798        bool Lookup(tCacheIter &cacheIter, tServerIter &sit, const CServerPath &path, bool allowUnsureEntries, bool& is_outdated);
    9899
    99         mutex mutex_;
     100        fz::mutex mutex_;
    100101
    101102        std::list<CServerEntry> m_serverList;
Note: See TracChangeset for help on using the changeset viewer.