diff --git a/hyperon_das_atomdb_cpp/src/.clang-format-ignore b/hyperon_das_atomdb_cpp/src/.clang-format-ignore new file mode 100644 index 00000000..9bafc7cb --- /dev/null +++ b/hyperon_das_atomdb_cpp/src/.clang-format-ignore @@ -0,0 +1,3 @@ +nanobind.cpp +main.cpp + diff --git a/hyperon_das_atomdb_cpp/src/adapters/ram_only.hpp b/hyperon_das_atomdb_cpp/src/adapters/ram_only.hpp index 073e2ae9..b05a58d2 100644 --- a/hyperon_das_atomdb_cpp/src/adapters/ram_only.hpp +++ b/hyperon_das_atomdb_cpp/src/adapters/ram_only.hpp @@ -76,7 +76,7 @@ class Database { */ class InMemoryDB : public AtomDB { public: - InMemoryDB(){}; + InMemoryDB() {}; ~InMemoryDB() { this->all_named_types.clear(); this->named_type_table.clear(); diff --git a/hyperon_das_atomdb_cpp/src/database.hpp b/hyperon_das_atomdb_cpp/src/database.hpp index c3c5a3aa..e1fcbd0c 100644 --- a/hyperon_das_atomdb_cpp/src/database.hpp +++ b/hyperon_das_atomdb_cpp/src/database.hpp @@ -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.