On Sun, Dec 11, 2022 at 12:31:18AM +0100, Thibaut Cuvelier wrote:
> On Sat, 10 Dec 2022 at 23:12, Scott Kostyshak wrote:
>
> > On Sat, Dec 10, 2022 at 10:36:51PM +0100, Thibaut Cuvelier wrote:
> > > On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote:
> > >
> > > > PreambleModule::editExternal()
On Sat, 10 Dec 2022 at 23:12, Scott Kostyshak wrote:
> On Sat, Dec 10, 2022 at 10:36:51PM +0100, Thibaut Cuvelier wrote:
> > On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote:
> >
> > > PreambleModule::editExternal() and LocalLayout::editExternal() share
> > > most of their code. The functions
On Sat, Dec 10, 2022 at 10:36:51PM +0100, Thibaut Cuvelier wrote:
> On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote:
>
> > PreambleModule::editExternal() and LocalLayout::editExternal() share
> > most of their code. The functions are pretty small, so there's not too
> > much duplication as a
On Sat, 10 Dec 2022 at 17:19, Scott Kostyshak wrote:
> PreambleModule::editExternal() and LocalLayout::editExternal() share
> most of their code. The functions are pretty small, so there's not too
> much duplication as a whole. However, I'm still curious. How would I
> best deduplicate the code?
PreambleModule::editExternal() and LocalLayout::editExternal() share
most of their code. The functions are pretty small, so there's not too
much duplication as a whole. However, I'm still curious. How would I
best deduplicate the code?
In this case I wonder if a friend function might be the best c