aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/expressionsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/expressionsem.c')
-rw-r--r--gcc/d/dmd/expressionsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/d/dmd/expressionsem.c b/gcc/d/dmd/expressionsem.c
index 25f4bd5..412d416 100644
--- a/gcc/d/dmd/expressionsem.c
+++ b/gcc/d/dmd/expressionsem.c
@@ -1537,7 +1537,7 @@ public:
sc = sc->push(); // just create new scope
sc->flags &= ~SCOPEctfe; // temporary stop CTFE
- sc->protection = Prot(PROTpublic); // Bugzilla 12506
+ sc->protection = Prot(Prot::public_); // Bugzilla 12506
if (!exp->type || exp->type == Type::tvoid)
{