Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent 6430a53 commit 9a2dde3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: mixed-line-ending
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.8.0
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
rev: v18.1.8
hooks:
- id: clang-format
args: [--style=file]
Expand Down
6 changes: 3 additions & 3 deletions src/geography.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Geography {

class Point : public Geography {
public:
Point(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)){};
Point(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)) {};

inline GeographyType geog_type() const override {
return GeographyType::Point;
Expand All @@ -97,7 +97,7 @@ class Point : public Geography {

class LineString : public Geography {
public:
LineString(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)){};
LineString(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)) {};

inline GeographyType geog_type() const override {
return GeographyType::LineString;
Expand All @@ -106,7 +106,7 @@ class LineString : public Geography {

class Polygon : public Geography {
public:
Polygon(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)){};
Polygon(S2GeographyPtr&& geog_ptr) : Geography(std::move(geog_ptr)) {};

inline GeographyType geog_type() const override {
return GeographyType::Polygon;
Expand Down

0 comments on commit 9a2dde3

Please sign in to comment.