We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885358a commit 4948244Copy full SHA for 4948244
demos/common/cpp/monitors/src/presenter.cpp
@@ -23,7 +23,7 @@ std::set<MonitorType> strKeysToMonitorSet(const std::string& keys) {
23
return enabledMonitors;
24
}
25
for (unsigned char key: keys) {
26
- if (key == "h") {
+ if (key == 'h') {
27
throw std::runtime_error("Unacceptable combination of monitor types-can't show and hide info at the same time");
28
29
auto iter = keyToMonitorType.find(std::toupper(key));
0 commit comments