Skip to content

Commit 0a14e2a

Browse files
authored
Merge pull request #16150 from slavapestov/irgen-review-feedback
IRGen: CompletelyFragileScope constructor should be explicit
2 parents d7dac88 + 7c51c9e commit 0a14e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class CompletelyFragileScope {
225225
bool State;
226226
TypeConverter &TC;
227227
public:
228-
CompletelyFragileScope(TypeConverter &TC) : TC(TC) {
228+
explicit CompletelyFragileScope(TypeConverter &TC) : TC(TC) {
229229
State = TC.isCompletelyFragile();
230230
if (!State)
231231
TC.pushCompletelyFragile();

0 commit comments

Comments
 (0)