summaryrefslogtreecommitdiff
path: root/external/libfreehand/replace_transform_class_with_struct.patch
blob: b7deeea6595727d5e54ad1bc857d397a076eed3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Due to class/struct mismatch, MSVC 14.0 is issuing linkage error.
This was already fixed upstream, and can be removed after bumping
libfreehand version.

author	David Tardon <dtardon@redhat.com>
Thu, 11 Jun 2015 17:13:57 +0200 (17:13 +0200)
committer	David Tardon <dtardon@redhat.com>
commit	d9b10697f3984e51d3870e049b99488d94ee735e
WaE: 'FHTransform' defined as a struct here but previously declared as a class

diff -ru libfreehand/src/lib/FHPath.h libfreehand.orig/src/lib/FHPath.h
--- src/lib/FHPath.h        2015-09-13 11:25:46.523925800 +0200
+++ src/lib/FHPath.h   2015-05-18 06:50:01.000000000 +0200
@@ -16,7 +16,7 @@
 namespace libfreehand
 {

-class FHTransform;
+struct FHTransform;

 class FHPathElement
 {