Hi!

While browsing the sources, trying to understand how LyX works, I stumbled over this piece of code:

        /// return the toolbar for this view
        Toolbars & getToolbars() { return *toolbars_.get(); }
        ///
        Toolbars const & getToolbasr() const { return *toolbars_.get(); }
                                ^^^^

That's a typo, right? But not a bug since the two function bodies are equivalent? What's the advantage of having both functions?

/Andreas

Reply via email to