Skip to content

Commit

Permalink
Fix truncated code example
Browse files Browse the repository at this point in the history
  • Loading branch information
dacharyc committed Mar 18, 2024
1 parent 5b312ce commit 40f8c10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions examples/cpp/local/crud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ TEST_CASE("Define model example", "[write]") {
TEST_CASE("Ignored property example", "[write]") {
// :snippet-start: open-db-at-path
auto relative_realm_path_directory = "custom_path_directory/";
std::filesystem::create_directories(
relative_realm_path_directory); // :remove:
std::filesystem::create_directories(relative_realm_path_directory);
// Construct a path
std::filesystem::path path =
std::filesystem::current_path().append(relative_realm_path_directory);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
auto relative_realm_path_directory = "custom_path_directory/";
std::filesystem::create_directories(
std::filesystem::create_directories(relative_realm_path_directory);
// Construct a path
std::filesystem::path path =
std::filesystem::current_path().append(relative_realm_path_directory);
Expand Down

0 comments on commit 40f8c10

Please sign in to comment.