forgotten cast removed

This commit is contained in:
iyaz 2013-05-01 03:08:40 +03:00
parent 8b575f179e
commit 07bf1ef8d2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ inline Reference
get(const put_get_helper_pass_key_by_reference<Reference, PropertyMap>& pa,
typename PropertyMap::key_type& k)
{
return Reference(static_cast<const PropertyMap&>(pa)[k]);
return static_cast<const PropertyMap&>(pa)[k];
}
// this is also required because some of the functions pass const ref parameters