mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +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…
Reference in New Issue
Block a user