mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-01 17:43:02 +00:00
Better string comparison
This commit is contained in:
parent
f0e2c7c48d
commit
c46cdcb188
@ -78,7 +78,7 @@ using google::LogMessage;
|
||||
|
||||
ControlThread::ControlThread()
|
||||
{
|
||||
if (!FLAGS_c.compare("-"))
|
||||
if (FLAGS_c == "-")
|
||||
{
|
||||
configuration_ = std::make_shared<FileConfiguration>(FLAGS_config_file);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user