remove const from non-member function
This commit is contained in:
parent
93df164485
commit
7f89cd0774
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ void RemoveExtraParameter(const std::string& key) {
|
||||||
CrashReporter::GetInstance()->RemoveExtraParameter(key);
|
CrashReporter::GetInstance()->RemoveExtraParameter(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<std::string, std::string> GetParameters() const {
|
std::map<std::string, std::string> GetParameters() {
|
||||||
return CrashReporter::GetInstance()->GetParameters();
|
return CrashReporter::GetInstance()->GetParameters();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ const {closeWindow} = require('./window-helpers')
|
||||||
const {remote} = require('electron')
|
const {remote} = require('electron')
|
||||||
const {app, BrowserWindow, crashReporter} = remote.require('electron')
|
const {app, BrowserWindow, crashReporter} = remote.require('electron')
|
||||||
|
|
||||||
describe.only('crashReporter module', () => {
|
describe('crashReporter module', () => {
|
||||||
if (process.mas || process.env.DISABLE_CRASH_REPORTER_TESTS) return
|
if (process.mas || process.env.DISABLE_CRASH_REPORTER_TESTS) return
|
||||||
|
|
||||||
let originalTempDirectory = null
|
let originalTempDirectory = null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue