Fixed message

release/4.3a0
dellaert 2014-11-29 19:47:45 +01:00
parent 6e691b06ff
commit fb8283cf11
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ const TypeAttributes& TypeAttributesTable::attributes(const string& key) const {
try {
return table_.at(key);
} catch (const out_of_range& oor) {
cerr << "Class::method: key not found: " << oor.what()
<< ", methods are:\n";
cerr << "TypeAttributesTable::attributes: key " << key
<< " not found. Valid keys are:\n";
using boost::adaptors::map_keys;
ostream_iterator<string> out_it(cerr, "\n");
boost::copy(table_ | map_keys, out_it);