Skip to content

Commit 045b5d3

Browse files
move comment
1 parent c24df9e commit 045b5d3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • swift/swift-cpp-interop-non-copyable/Sources/CppTarget/Headers/LibCpp

swift/swift-cpp-interop-non-copyable/Sources/CppTarget/Headers/LibCpp/Test.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33

44
namespace Foo {
55

6-
// setting SWIFT_NONCOPYABLE doesn't have any effect:
7-
// record 'Class2' is not automatically available: does not have a copy constructor or destructor; does this type have reference semantics
86
class Class1 {
97
public:
108
Class1(long);
119
public:
1210
virtual ~Class1();
1311
};
1412

13+
// setting SWIFT_NONCOPYABLE doesn't have any effect:
14+
// record 'Class2' is not automatically available: does not have a copy constructor or destructor; does this type have reference semantics
1515
class Class2: Class1 {
1616
public:
1717
Class2(); // cannot compile without this constructor when marking SWIFT_NONCOPYABLE

0 commit comments

Comments
 (0)