Skip to content

Commit 4948244

Browse files
committed
fixing type of variable
1 parent 885358a commit 4948244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demos/common/cpp/monitors/src/presenter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ std::set<MonitorType> strKeysToMonitorSet(const std::string& keys) {
2323
return enabledMonitors;
2424
}
2525
for (unsigned char key: keys) {
26-
if (key == "h") {
26+
if (key == 'h') {
2727
throw std::runtime_error("Unacceptable combination of monitor types-can't show and hide info at the same time");
2828
}
2929
auto iter = keyToMonitorType.find(std::toupper(key));

0 commit comments

Comments
 (0)