Apply DDMD PR #5885 (f5f9150ea57cce5fabb43c79ff1b187d34d37044).

This fixes incorrect overriding of class methods and gets rid of many C++ warnings.
This commit is contained in:
Johan Engelen 2016-07-25 15:25:01 +02:00
parent e9f4ff21c0
commit 463e53b9ac
18 changed files with 28 additions and 28 deletions

View file

@ -375,7 +375,7 @@ DValue *DtoDynamicCastInterface(Loc &loc, DValue *val, Type *_to) {
////////////////////////////////////////////////////////////////////////////////
LLValue *DtoVirtualFunctionPointer(DValue *inst, FuncDeclaration *fdecl,
char *name) {
const char *name) {
// sanity checks
assert(fdecl->isVirtual());
assert(!fdecl->isFinalFunc());