Comment 10 for bug 1778426

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1778426] Re: cvpcb can not preview footprints

The reason these functions are constant is to prevent code outside of
the library table from modifying rows. I would prefer that we figure
out how to handle refreshing the table by calling insureIndex() when
changes to the table are made rather than making these functions
non-constant.

On 6/28/2018 5:06 PM, endofexclusive wrote:
> Regarding the const version of findRow(), I actually have a patch set
> for that one in the pipe. The function is in fact not const (!). See the
> attached patch. However, that may not explain the cast issue.
>
> ** Patch added: "Removed const version of findRow()"
> https://bugs.launchpad.net/kicad/+bug/1778426/+attachment/5157531/+files/0001-LIB_TABLE-removed-const-version-of-findRow.patch
>