mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-18 09:49:02 +02:00
Merge dmd v2.055
This commit is contained in:
@@ -62,12 +62,12 @@ void MultiSetter::operator=(bool val) {
|
||||
}
|
||||
|
||||
|
||||
void ArrayAdapter::push_back(const char* cstr) {
|
||||
void StringsAdapter::push_back(const char* cstr) {
|
||||
if (!cstr || !*cstr)
|
||||
error("Expected argument to '-%s'", name);
|
||||
|
||||
if (!*arrp)
|
||||
*arrp = new Array;
|
||||
*arrp = new Strings;
|
||||
(*arrp)->push(mem.strdup(cstr));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user