MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ trim_output()

void MayaFlux::Platform::trim_output ( std::string & str)
inline

Definition at line 52 of file Process.hpp.

53{
54 str.erase(std::remove(str.begin(), str.end(), '\r'), str.end());
55 str.erase(std::remove(str.begin(), str.end(), '\n'), str.end());
56 str.erase(str.find_last_not_of(" \t") + 1);
57}

Referenced by MayaFlux::Platform::SystemConfig::get_clang_resource_dir().

Here is the caller graph for this function: