/*
- * Copyright 2001-2009 Internet2
+ * Copyright 2001-2010 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* The lifetime of the StorageService <strong>MUST</strong> be longer than
* the lifetime of the ReplayCache.
*
- * @param storage pointer to a StorageService, or NULL to keep cache in memory
+ * @param storage pointer to a StorageService, or nullptr to keep cache in memory
*/
- ReplayCache(StorageService* storage=NULL);
+ ReplayCache(StorageService* storage=nullptr);
virtual ~ReplayCache();
* @param s value to check
* @param expires time for disposal of value from cache
*/
- bool check(const char* context, const XMLCh* s, time_t expires) {
- auto_ptr_char temp(s);
- return check(context, temp.get(), expires);
- }
+ bool check(const char* context, const XMLCh* s, time_t expires);
private:
bool m_owned;