Neil <[email protected]> wrote: >> static const PRUnichar* kResetBackupDirectory = >> NS_LITERAL_STRING("resetBackupDirectory").get();
Isn't this an anti-pattern anyway because the string (and the memory owned by it) will get destructed after the semicolon "runs" leaving kResetBackupDirectory pointing at deleted memory? -- Blake Kaplan _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

