keep old names
This commit is contained in:
parent
377aad79ce
commit
f02ef7ed0e
1 changed files with 4 additions and 2 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue