diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-07-20 08:05:20 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-07-20 08:05:20 +0000 |
| commit | f6745b23938b91b6bd5fa5f4b2cdc48ae819bead (patch) | |
| tree | d0ab8c292b3e545c7b1edeb2b17fd3af4342abee /src | |
| parent | patch by Daniel Blueman for Bug 590079 (diff) | |
| download | inkscape-f6745b23938b91b6bd5fa5f4b2cdc48ae819bead.tar.gz inkscape-f6745b23938b91b6bd5fa5f4b2cdc48ae819bead.zip | |
Restore code safety for all but Win32.
(bzr r9632)
Diffstat (limited to 'src')
| -rw-r--r-- | src/style.h | 9 |
1 files changed, 6 insertions, 3 deletions
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 |
