libwreport 2.1
|
RAII-style override of an environment variable. More...
#include <tests.h>
Public Member Functions | |
LocalEnv (const std::string &key, const std::string &val) |
RAII-style override of an environment variable.
wreport::tests::LocalEnv::LocalEnv | ( | const std::string & | key, |
const std::string & | val | ||
) | [inline] |
key | the environment variable to override |
val | the new value to assign to key |