Neil <n...@parkwaycc.co.uk> 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 dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform