[generator] remove obsolete tunnel flag

This commit is contained in:
Darafei Praliaskouski 2013-10-02 19:46:36 +03:00 committed by Alex Zolotarev
parent f97623fe31
commit aa89107b1e

View file

@ -120,13 +120,12 @@ namespace ftype
size_t & m_count;
FeatureParams & m_params;
bool m_tunnel;
public:
typedef bool result_type;
do_find_name(size_t & count, FeatureParams & params)
: m_count(count), m_params(params), m_tunnel(false)
: m_count(count), m_params(params)
{
m_count = 0;
}
@ -211,10 +210,6 @@ namespace ftype
m_params.rank = static_cast<uint8_t>(log(double(n)) / log(1.1));
}
// set 'tunnel' flag
if (k == "tunnel")
m_tunnel = true;
return false;
}
};