We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c24df9e commit 045b5d3Copy full SHA for 045b5d3
1 file changed
swift/swift-cpp-interop-non-copyable/Sources/CppTarget/Headers/LibCpp/Test.h
@@ -3,15 +3,15 @@
3
4
namespace Foo {
5
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
8
class Class1 {
9
public:
10
Class1(long);
11
12
virtual ~Class1();
13
};
14
+// setting SWIFT_NONCOPYABLE doesn't have any effect:
+// record 'Class2' is not automatically available: does not have a copy constructor or destructor; does this type have reference semantics
15
class Class2: Class1 {
16
17
Class2(); // cannot compile without this constructor when marking SWIFT_NONCOPYABLE
0 commit comments