use std::system
This commit is contained in:
parent
d9a66a765c
commit
c8867d1419
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ struct main_marker_visitor
|
|||
#else
|
||||
s << "xdg-open " << png_name;
|
||||
#endif
|
||||
int ret = system(s.str().c_str());
|
||||
int ret = std::system(s.str().c_str());
|
||||
if (ret != 0)
|
||||
status = ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue