servers/input: Fix debug build.

Change-Id: I74f90906c12284ee8a2aea9d9525a0a39bf16e64
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3359
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Murai Takashi 2020-10-26 20:09:53 +09:00 committed by Jérôme Duval
parent d88490a505
commit 4f819c8959

View File

@ -387,10 +387,10 @@ MultipleMouseSettings::Defaults()
void
MultipleMouseSettings::Dump()
{
std::map<const char*, mouse_settings>::iterator itr;
for (itr = fMultipleMouseSettings.begin();
itr != fMultipleMouseSettings.end(); ++itr) {
printf("mouse_name:\t%ld\n", itr->first);
std::map<BString, MouseSettings*>::iterator itr;
for (itr = fMouseSettingsObject.begin();
itr != fMouseSettingsObject.end(); ++itr) {
printf("mouse_name:\t%s\n", itr->first.String());
itr->second->Dump();
printf("\n");
}
@ -442,4 +442,3 @@ MultipleMouseSettings::GetMouseSettings(BString mouse_name)
return NULL;
}