MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / ~Arguments

Method ~Arguments

tests/gtest/gtest-all.cc:8441–8446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8439 Arguments() { args_.push_back(nullptr); }
8440
8441 ~Arguments() {
8442 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end();
8443 ++i) {
8444 free(*i);
8445 }
8446 }
8447 void AddArgument(const char* argument) {
8448 args_.insert(args_.end() - 1, posix::StrDup(argument));
8449 }

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected