mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 16:41:06 +03:00
Apply DDMD PR #5885 (f5f9150ea57cce5fabb43c79ff1b187d34d37044).
This fixes incorrect overriding of class methods and gets rid of many C++ warnings.
This commit is contained in:
parent
e9f4ff21c0
commit
463e53b9ac
18 changed files with 28 additions and 28 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue