We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42be695 commit 12a7f0eCopy full SHA for 12a7f0e
tests/ten_runtime/smoke/basic/basic_hello_world_1.cc
@@ -25,15 +25,11 @@ class test_extension : public ten::extension_t {
25
(std::string("on_cmd ") + cmd->get_name()).c_str());
26
27
if (cmd->get_name() == "hello_world") {
28
- *ptr_ = 1;
29
auto cmd_result = ten::cmd_result_t::create(TEN_STATUS_CODE_OK);
30
cmd_result->set_property("detail", "hello world, too");
31
ten_env.return_result(std::move(cmd_result), std::move(cmd));
32
}
33
34
-
35
- private:
36
- int* ptr_ = nullptr;
37
};
38
39
class test_app : public ten::app_t {
0 commit comments