diff options
Diffstat (limited to 'gcc/d/dmd/staticassert.h')
-rw-r--r-- | gcc/d/dmd/staticassert.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/d/dmd/staticassert.h b/gcc/d/dmd/staticassert.h index 6d43cb73a0d..8f880804454 100644 --- a/gcc/d/dmd/staticassert.h +++ b/gcc/d/dmd/staticassert.h @@ -5,7 +5,7 @@ * http://www.digitalmars.com * Distributed under the Boost Software License, Version 1.0. * http://www.boost.org/LICENSE_1_0.txt - * https://github.com/dlang/dmd/blob/master/src/staticassert.h + * https://github.com/dlang/dmd/blob/master/src/dmd/staticassert.h */ #pragma once @@ -20,9 +20,7 @@ public: Expression *exp; Expression *msg; - StaticAssert(Loc loc, Expression *exp, Expression *msg); - - Dsymbol *syntaxCopy(Dsymbol *s); + StaticAssert *syntaxCopy(Dsymbol *s); void addMember(Scope *sc, ScopeDsymbol *sds); bool oneMember(Dsymbol **ps, Identifier *ident); const char *kind() const; |