mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
This commit is contained in:
commit
7f9c608c86
@ -2086,12 +2086,15 @@ bool Gnuplot::get_program_path()
|
|||||||
{
|
{
|
||||||
s << path;
|
s << path;
|
||||||
}
|
}
|
||||||
if (s.fail() or s.gcount() == 0)
|
if (s.fail())
|
||||||
{
|
{
|
||||||
throw GnuplotException("PATH is not set");
|
throw GnuplotException("PATH is not well defined");
|
||||||
|
}
|
||||||
|
std::string path_str;
|
||||||
|
if (s.gcount() > 0)
|
||||||
|
{
|
||||||
|
path_str = s.str();
|
||||||
}
|
}
|
||||||
std::string path_str = s.str();
|
|
||||||
|
|
||||||
std::list<std::string> ls;
|
std::list<std::string> ls;
|
||||||
|
|
||||||
//split path (one long string) into list ls of strings
|
//split path (one long string) into list ls of strings
|
||||||
|
Loading…
Reference in New Issue
Block a user