diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-13 21:44:30 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2013-03-13 21:44:30 +0000 |
| commit | 3e19ed88ad827fc4e9e638713d672f6fa5346926 (patch) | |
| tree | 79e44f01ba54b5a8c41818ab0a4e37e832c358d3 /src/color-profile.cpp | |
| parent | cppcheck (diff) | |
| download | inkscape-3e19ed88ad827fc4e9e638713d672f6fa5346926.tar.gz inkscape-3e19ed88ad827fc4e9e638713d672f6fa5346926.zip | |
Fix build failure with clang. Thanks to Samuel Chase for patch (leaks fixed).
(bzr r12202)
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 42b6e86dd..fe663957c 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -103,6 +103,8 @@ extern guint update_in_progress; static SPObjectClass *cprof_parent_class; +namespace Inkscape { + class ColorProfileImpl { public: #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) @@ -129,10 +131,6 @@ public: #endif // defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) }; - - -namespace Inkscape { - #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) cmsColorSpaceSignature asICColorSpaceSig(ColorSpaceSig const & sig) { |
