Commit 02fccbc5 authored by T.J. Corona's avatar T.J. Corona

Guard against unused function warning

parent d670aefb
......@@ -564,6 +564,7 @@ void PhraseModel::triggerDataChangedFor(smtk::resource::ComponentPtr comp)
});
}
#ifdef SMTK_PHRASE_DEBUG
namespace
{
int depth(DescriptivePhrasePtr phr)
......@@ -577,6 +578,7 @@ int depth(DescriptivePhrasePtr phr)
return dd;
}
}
#endif
void PhraseModel::trigger(DescriptivePhrasePtr phr, PhraseModelEvent event,
const std::vector<int>& src, const std::vector<int>& dst, const std::vector<int>& arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment