Maybe I understand the issue.  Here are several declarations together.

      void writeProperties(Xml&, bool = true, bool = true) const;

Isn't the compiler warning me that if I call writeProperties with one Xml
argument, that this method with two optional bools is called instead of the
1-arg version.

The compiler warning is saying that even if 1 argument is used at the call
site, the 3-arg version will be called, and there is no way to reach the
3-arg version.

Thus if this class or a subclass makes a call like writeProperties(xmlobj),
then 3-arg version is called and that might be surprising.



--
View this message in context: 
http://dev-list.musescore.org/review-of-compiler-warnings-tp7579292p7579300.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to