Skip to content

Commit 58b5a5f

Browse files
committed
Fix Windows build
CURA-12743 Apparently the MSVC compiler is more sensitive about forward-declaring a class or struct, but it doesn't say it explicitly...
1 parent 0dbcfa2 commit 58b5a5f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

include/Matrix33F.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#pragma once
44

55
struct Point2F;
6-
struct Point3F;
6+
class Point3F;
77
class Vector3F;
88

99
class Matrix33F

include/Vector3F.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <optional>
66

7-
struct Point3F;
7+
class Point3F;
88

99
class Vector3F
1010
{

include/geometry_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <optional>
66

7-
struct Point3F;
7+
class Point3F;
88
class Vector3F;
99

1010
namespace geometry_utils

include/project.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include "Face.h"
1010

11-
struct Point3F;
11+
class Point3F;
1212
struct Point2F;
1313
class Matrix44F;
1414
class Vector3F;

include/unwrap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "Face.h"
99

10-
struct Point3F;
10+
class Point3F;
1111
struct Point2F;
1212

1313
/*!

0 commit comments

Comments
 (0)