1
0
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:
Carles Fernandez 2019-02-10 14:07:27 +01:00
parent f0e2c7c48d
commit c46cdcb188
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -78,7 +78,7 @@ using google::LogMessage;
ControlThread::ControlThread()
{
if (!FLAGS_c.compare("-"))
if (FLAGS_c == "-")
{
configuration_ = std::make_shared<FileConfiguration>(FLAGS_config_file);
}