Skip to content

Commit a5bb737

Browse files
added comment about {$WARN DUPLICATE_CTOR_DTOR OFF}
1 parent 2c34b5a commit a5bb737

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Delphi.Mocks.Expectation.pas

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ interface
3535
Delphi.Mocks.Interfaces,
3636
Delphi.Mocks.Utils;
3737

38-
39-
//disable warnings about c++ compatibility, since we don't intend to support it.
40-
{$WARN DUPLICATE_CTOR_DTOR OFF}
41-
//for some reason this doesn't work.. this should override the project settings.
38+
//NOTE : To disable warnings about c++ compatibility Add the following to your dpr
39+
//{$WARN DUPLICATE_CTOR_DTOR OFF}
4240

4341
type
4442
TExpectation = class(TInterfacedObject,IExpectation)

0 commit comments

Comments
 (0)