On 12/07/2010 03:43 AM, Vincent van Ravesteijn wrote:
Author: spitz
Date: Tue Dec  7 09:36:42 2010
New Revision: 36758
URL: http://www.lyx.org/trac/changeset/36758

Log:
* Use default output flavor for View Source.

@@ -662,6 +666,10 @@
+       /// A cache for the default flavors
+       typedef std::map<std::string, OutputParams::FLAVOR>  DefaultFlavorCache;
+       ///
+       DefaultFlavorCache default_flavors_;
If you make this cache mutable ?

It almost seems to be a general principle that caches are mutable.

rh

Reply via email to