Improve comment.

This commit is contained in:
Jeff Young 2023-11-07 23:53:09 +00:00
parent 72ce955066
commit a846e0219b
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@ PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER( SCH_BASE_FRAME* aFrame, wxWindow* aP
if( aFilter->GetFilterPowerSymbols() )
{
// HACK ALERT: the only filter ever used for symbols is the power filter, so we
// sometimes just look for the function pointer being non-null.
// just look for the function pointer being non-null. (What the function does is
// therefore immaterial as it's never called.)
static std::function<int( LIB_TREE_NODE& )> powerFilter =
[]( LIB_TREE_NODE& ) -> int
{