Bug 825150 - Remove const_casts by adding some const-ness to nsICommandLineRunner.init(). r=karlt, sr=bsmedberg.

This commit is contained in:
Nicholas Nethercote
2013-01-03 13:52:32 -08:00
parent 5ad9f21fd3
commit f05eba28bf
5 changed files with 8 additions and 9 deletions

View File

@@ -442,7 +442,7 @@ nsCommandLine::resolveShortcutURL(nsIFile* aFile, nsACString& outURL)
}
NS_IMETHODIMP
nsCommandLine::Init(int32_t argc, char** argv, nsIFile* aWorkingDir,
nsCommandLine::Init(int32_t argc, const char* const* argv, nsIFile* aWorkingDir,
uint32_t aState)
{
NS_ENSURE_ARG_MIN(aState, 0);