From: Jon A. Cruz Date: Tue, 20 Jul 2010 08:05:20 +0000 (-0700) Subject: Restore code safety for all but Win32. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f44aae85dbbe6ec0beb05727b8d697867175e76;hp=d86a4fc3e359417ff087c4d602dd4f0970523abd;p=inkscape.git Restore code safety for all but Win32. --- diff --git a/src/style.h b/src/style.h index d437a50f0..f937fe33b 100644 --- a/src/style.h +++ b/src/style.h @@ -178,9 +178,12 @@ struct SPIPaint { void read( gchar const *str, SPStyle &tyle, SPDocument *document = 0); -//private: -// SPIPaint(SPIPaint const&); -// SPIPaint &operator=(SPIPaint const &); + // Win32 is a temp work-around until the emf extension is fixed: +#ifndef WIN32 +private: + SPIPaint(SPIPaint const&); + SPIPaint &operator=(SPIPaint const &); +#endif // WIN32 }; /// Filter type internal to SPStyle