Skip to content

Commit

Permalink
run make format with clang-format 18.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Jan 7, 2025
1 parent 162c6f8 commit fc292ae
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions libtiledbsoma/src/geometry/point.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace tiledbsoma::geometry {
Point::Point()
: BasePoint(0, 0){};
: BasePoint(0, 0) {};
Point::Point(
double_t x,
double_t y,
Expand All @@ -11,7 +11,7 @@ Point::Point(
: BasePoint(x, y, z, m) {
}
Point::Point(BasePoint&& point)
: BasePoint(std::move(point)){};
: BasePoint(std::move(point)) {};

Point::~Point() {
}
Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/reindexer/reindexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class IntIndexer {

lookup(keys.data(), results.data(), keys.size());
}
IntIndexer(){};
IntIndexer() {};
IntIndexer(std::shared_ptr<tiledbsoma::SOMAContext> context)
: context_(context) {
}
Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/soma/soma_collection.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class SOMACollection : public SOMAGroup {
uri,
ctx,
std::filesystem::path(uri).filename().string(), // group name
timestamp){};
timestamp) {};

SOMACollection(const SOMAGroup& other)
: SOMAGroup(other) {
Expand Down
4 changes: 2 additions & 2 deletions libtiledbsoma/src/soma/soma_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ class SOMAContext {
//===================================================================
SOMAContext()
: ctx_(std::make_shared<Context>(Config({})))
, thread_pool_mutex_(){};
, thread_pool_mutex_() {};

SOMAContext(std::map<std::string, std::string> tiledb_config)
: ctx_(std::make_shared<Context>(Config(tiledb_config)))
, thread_pool_mutex_(){};
, thread_pool_mutex_() {};

bool operator==(const SOMAContext& other) const {
return ctx_ == other.ctx_;
Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/soma/soma_object.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <string>
#include <tiledb/tiledb>

#include "../utils/logger.h" // for fmt
#include "soma_array.h"
#include "soma_collection.h"
#include "soma_dataframe.h"
Expand All @@ -13,7 +14,6 @@
#include "soma_point_cloud_dataframe.h"
#include "soma_scene.h"
#include "soma_sparse_ndarray.h"
#include "../utils/logger.h" // for fmt

namespace tiledbsoma {

Expand Down
2 changes: 1 addition & 1 deletion libtiledbsoma/src/utils/arrow_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ColumnBuffer;
*/
struct ArrowBuffer {
ArrowBuffer(std::shared_ptr<ColumnBuffer> buffer)
: buffer_(buffer){};
: buffer_(buffer) {};

std::shared_ptr<ColumnBuffer> buffer_;
};
Expand Down
4 changes: 2 additions & 2 deletions libtiledbsoma/src/utils/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ using TimestampRange = std::pair<uint64_t, uint64_t>;
class TileDBSOMAError : public std::runtime_error {
public:
explicit TileDBSOMAError(const char* m)
: std::runtime_error(m){};
: std::runtime_error(m) {};
explicit TileDBSOMAError(std::string m)
: std::runtime_error(m.c_str()){};
: std::runtime_error(m.c_str()) {};

public:
virtual const char* what() const noexcept override {
Expand Down

0 comments on commit fc292ae

Please sign in to comment.