[pkg-d-commits] [ldc] 58/149: Fix buggy incorrect virtual function overrides.
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:36:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.2.0
in repository ldc.
commit b2378b12c534c6ccf9ed885d06e68dc267af4a78
Author: Johan Engelen <jbc.engelen at gmail.com>
Date: Sun Jan 29 22:58:54 2017 +0100
Fix buggy incorrect virtual function overrides.
---
ddmd/attrib.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/ddmd/attrib.h b/ddmd/attrib.h
index f33e9c6..d0416cc 100644
--- a/ddmd/attrib.h
+++ b/ddmd/attrib.h
@@ -45,7 +45,7 @@ public:
void semantic2(Scope *sc);
void semantic3(Scope *sc);
void addComment(const utf8_t *comment);
- const char *kind() const;
+ const char *kind();
bool oneMember(Dsymbol **ps, Identifier *ident);
void setFieldOffset(AggregateDeclaration *ad, unsigned *poffset, bool isunion);
bool hasPointers();
@@ -113,7 +113,7 @@ public:
Dsymbol *syntaxCopy(Dsymbol *s);
Scope *newScope(Scope *sc);
void addMember(Scope *sc, ScopeDsymbol *sds);
- const char *kind() const;
+ const char *kind();
const char *toPrettyChars(bool unused);
void accept(Visitor *v) { v->visit(this); }
};
@@ -144,7 +144,7 @@ public:
void setScope(Scope *sc);
void semantic(Scope *sc);
void setFieldOffset(AggregateDeclaration *ad, unsigned *poffset, bool isunion);
- const char *kind() const;
+ const char *kind();
AnonDeclaration *isAnonDeclaration() { return this; }
void accept(Visitor *v) { v->visit(this); }
};
@@ -157,7 +157,7 @@ public:
Dsymbol *syntaxCopy(Dsymbol *s);
Scope *newScope(Scope *sc);
void semantic(Scope *sc);
- const char *kind() const;
+ const char *kind();
void accept(Visitor *v) { v->visit(this); }
};
@@ -187,7 +187,7 @@ public:
void setScope(Scope *sc);
void importAll(Scope *sc);
void semantic(Scope *sc);
- const char *kind() const;
+ const char *kind();
void accept(Visitor *v) { v->visit(this); }
};
@@ -206,7 +206,7 @@ public:
void setScope(Scope *sc);
void compileIt(Scope *sc);
void semantic(Scope *sc);
- const char *kind() const;
+ const char *kind();
void accept(Visitor *v) { v->visit(this); }
};
@@ -226,7 +226,7 @@ public:
void semantic2(Scope *sc);
static Expressions *concat(Expressions *udas1, Expressions *udas2);
Expressions *getAttributes();
- const char *kind() const;
+ const char *kind();
void accept(Visitor *v) { v->visit(this); }
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list