mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
* Cleanup of the auto* scripts, curl and openssl checks are now done
with pkg-config. * Minor changes to included headers and autoconf scripts required by Solaris. * Added const char* to VariableMap::has. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@846 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -73,6 +73,9 @@ public:
|
||||
VariableMap() {}
|
||||
~VariableMap();
|
||||
|
||||
bool has(const char* key) const { return base_type::find(key) != base_type::end(); }
|
||||
bool has(const std::string& key) const { return has(key.c_str()); }
|
||||
|
||||
void insert(key_type key, Variable* v);
|
||||
|
||||
// Consider taking char* start and finish instead of std::string to
|
||||
|
||||
Reference in New Issue
Block a user