touchup feature.to_string() operator to display id differently than attributes

This commit is contained in:
Dane Springmeyer 2011-10-22 17:27:02 -07:00
parent e45948c2ab
commit 2f7d85e6d8

View file

@ -160,8 +160,8 @@ public:
std::string to_string() const
{
std::stringstream ss;
ss << "feature (" << std::endl;
ss << " id:" << id_ << std::endl;
ss << "feature "
<< id_ << " (" << std::endl;
for (std::map<std::string,value>::const_iterator itr=props_.begin();
itr != props_.end();++itr)
{