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.
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: /bugs.launchpad .net/kicad/ +bug/1778426/ +attachment/ 5157531/ +files/ 0001-LIB_ TABLE-removed- const-version- of-findRow. patch
> 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:/
>