Skip to content

Commit

Permalink
Merge pull request #184 from ZettaScaleLabs/shm_default
Browse files Browse the repository at this point in the history
Shm default
  • Loading branch information
milyin authored Aug 28, 2024
2 parents ea48fa6 + b927ed6 commit fed7dc7
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion examples/zenohc/z_ping_shm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ int _main(int argc, char** argv) {
return 1;
}
Config config = Config::create_default();
config.insert_json(Z_CONFIG_SHARED_MEMORY_KEY, "true");
if (args.config_path) {
config = Config::from_file(args.config_path);
}
Expand Down
1 change: 0 additions & 1 deletion examples/zenohc/z_pub_shm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ int _main(int argc, char **argv) {
{{"-c", {"config file", &config_file}}});

Config config = Config::create_default();
config.insert_json(Z_CONFIG_SHARED_MEMORY_KEY, "true");
if (config_file) {
config = Config::from_file(config_file);
}
Expand Down
1 change: 0 additions & 1 deletion examples/zenohc/z_pub_shm_thr.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ int _main(int argc, char **argv) {
size_t len = atoi(payload_size);

Config config = Config::create_default();
config.insert_json(Z_CONFIG_SHARED_MEMORY_KEY, "true");
if (config_file) {
config = Config::from_file(config_file);
}
Expand Down
1 change: 0 additions & 1 deletion examples/zenohc/z_queryable_shm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ int _main(int argc, char **argv) {
{{"-c", {"config file", &config_file}}});

Config config = Config::create_default();
config.insert_json(Z_CONFIG_SHARED_MEMORY_KEY, "true");
if (config_file) {
config = Config::from_file(config_file);
}
Expand Down
1 change: 0 additions & 1 deletion examples/zenohc/z_sub_shm.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ int _main(int argc, char **argv) {
{{"-c", {"config file", &config_file}}});

Config config = Config::create_default();
config.insert_json(Z_CONFIG_SHARED_MEMORY_KEY, "true");
if (config_file) {
config = Config::from_file(config_file);
}
Expand Down

0 comments on commit fed7dc7

Please sign in to comment.