Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloprobst committed Sep 13, 2024
1 parent ed2fd7d commit e003dda
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions hyperon_das_atomdb_cpp/src/.clang-format-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nanobind.cpp
main.cpp

2 changes: 1 addition & 1 deletion hyperon_das_atomdb_cpp/src/adapters/ram_only.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Database {
*/
class InMemoryDB : public AtomDB {
public:
InMemoryDB(){};
InMemoryDB() {};
~InMemoryDB() {
this->all_named_types.clear();
this->named_type_table.clear();
Expand Down
8 changes: 4 additions & 4 deletions hyperon_das_atomdb_cpp/src/database.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,10 +429,10 @@ class AtomDB {
* @return The ID of the created index.
*/
virtual const string create_field_index(const string& atom_type,
const StringList& fields,
const string& named_type = "",
const StringList& composite_type = {},
FieldIndexType index_type = FieldIndexType::BINARY_TREE) = 0;
const StringList& fields,
const string& named_type = "",
const StringList& composite_type = {},
FieldIndexType index_type = FieldIndexType::BINARY_TREE) = 0;

/**
* @brief Insert multiple documents into the database.
Expand Down

0 comments on commit e003dda

Please sign in to comment.