keep old names

This commit is contained in:
Artem Pavlenko 2012-01-12 09:43:54 +00:00 committed by Artem Pavlenko
parent 377aad79ce
commit f02ef7ed0e

View file

@ -85,9 +85,11 @@ public:
{} {}
inline int id() const { return id_;} inline int id() const { return id_;}
void set_id(int id) { id_ = id;}
inline void set_id(int id) { id_ = id;}
template <typename T> template <typename T>
void set(std::string const& key, T const& val) void put(std::string const& key, T const& val)
{ {
map_type::const_iterator itr = ctx_->mapping_.find(key); map_type::const_iterator itr = ctx_->mapping_.find(key);
if (itr != ctx_->mapping_.end()) if (itr != ctx_->mapping_.end())