[search] Assign feature type to name if name is empty.

This commit is contained in:
vng 2012-07-29 21:28:56 -07:00 committed by Alex Zolotarev
parent b9910335d9
commit 4ecc0e4659

View file

@ -14,7 +14,10 @@ Result::Result(string const & str, string const & region,
{
// Features with empty names can be found after suggestion.
if (m_str.empty())
m_str = "-";
{
//m_str = "-";
m_str = type;
}
}
Result::Result(string const & str, string const & suggestionStr)