Add TCacheMap::GetTTL()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1488 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-04-11 20:04:21 +00:00
parent 557b096714
commit 8c8577e71d
+3
View File
@@ -275,6 +275,9 @@ public:
// Setters
void SetTTL(unsigned int u) { m_uTTL = u; }
// !Setters
// Getters
unsigned int GetTTL() { return m_uTTL; }
// !Getters
private:
typedef pair<unsigned long long, V> value;
typedef typename map<K, value>::iterator iterator;