Skip to content

Commit 94da2e7

Browse files
committed
Apply prepare changes
1 parent 5fa5b1b commit 94da2e7

File tree

15 files changed

+52
-47
lines changed

15 files changed

+52
-47
lines changed

bindings/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
5-
# pip-compile bindings/python/requirements.in
5+
# pip-compile --pre bindings/python/requirements.in
66
#

include/geode/basic/cell_array.hpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,20 @@ namespace geode
5656

5757
[[nodiscard]] index_t nb_cells_in_direction( index_t direction ) const;
5858

59-
[[nodiscard]] virtual index_t cell_index( const CellIndices& index ) const = 0;
59+
[[nodiscard]] virtual index_t cell_index(
60+
const CellIndices& index ) const = 0;
6061

61-
[[nodiscard]] virtual CellIndices cell_indices( index_t index ) const = 0;
62+
[[nodiscard]] virtual CellIndices cell_indices(
63+
index_t index ) const = 0;
6264

6365
[[nodiscard]] std::optional< CellIndices > next_cell(
6466
const CellIndices& index, index_t direction ) const;
6567

6668
[[nodiscard]] std::optional< CellIndices > previous_cell(
6769
const CellIndices& index, index_t direction ) const;
6870

69-
[[nodiscard]] bool is_cell_on_border( const CellIndices& cell_indices ) const;
71+
[[nodiscard]] bool is_cell_on_border(
72+
const CellIndices& cell_indices ) const;
7073

7174
protected:
7275
CellArray();

include/geode/basic/detail/geode_input_impl.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ namespace geode
7373
}
7474

7575
template < typename Factory, typename... Args >
76-
[[nodiscard]]typename Factory::BaseClass::InputData geode_object_input_impl(
77-
std::string_view type, std::string_view filename, Args... args )
76+
[[nodiscard]] typename Factory::BaseClass::InputData
77+
geode_object_input_impl(
78+
std::string_view type, std::string_view filename, Args... args )
7879
{
7980
const Timer timer;
8081
auto input = geode_object_input_reader< Factory >( filename );

include/geode/basic/detail/geode_output_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace geode
4040
namespace detail
4141
{
4242
template < typename Factory >
43-
[[nodiscard]]std::unique_ptr< typename Factory::BaseClass >
43+
[[nodiscard]] std::unique_ptr< typename Factory::BaseClass >
4444
geode_object_output_writer( std::string_view& filename )
4545
{
4646
filename = absl::StripAsciiWhitespace( filename );

include/geode/basic/factory.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ namespace geode
119119

120120
private:
121121
template < typename DerivedClass >
122-
[[nodiscard]] static inline std::unique_ptr< BaseClass > create_function_impl(
123-
Args... args )
122+
[[nodiscard]] static inline std::unique_ptr< BaseClass >
123+
create_function_impl( Args... args )
124124
{
125125
return std::unique_ptr< BaseClass >{ new DerivedClass{
126126
std::forward< Args >( args )... } };

include/geode/basic/file.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131

3232
namespace geode
3333
{
34-
[[nodiscard]] bool opengeode_basic_api file_exists( std::string_view file_path );
34+
[[nodiscard]] bool opengeode_basic_api file_exists(
35+
std::string_view file_path );
3536

3637
void opengeode_basic_api check_keyword(
3738
std::ifstream& file, std::string_view keyword );

include/geode/image/core/greyscale_color.hpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace geode
4646

4747
explicit GreyscaleColor( local_index_t value ) : value_( value ) {}
4848

49-
[[nodiscard]] local_index_t value() const
49+
[[nodiscard]] local_index_t value() const
5050
{
5151
return value_;
5252
}
@@ -56,17 +56,18 @@ namespace geode
5656
value_ = greyscale;
5757
}
5858

59-
[[nodiscard]] bool operator==( const GreyscaleColor &other ) const
59+
[[nodiscard]] bool operator==( const GreyscaleColor &other ) const
6060
{
6161
return value() == other.value();
6262
}
6363

64-
[[nodiscard]] bool operator!=( const GreyscaleColor &other ) const
64+
[[nodiscard]] bool operator!=( const GreyscaleColor &other ) const
6565
{
6666
return value() != other.value();
6767
}
6868

69-
[[nodiscard]] GreyscaleColor operator+( const GreyscaleColor &other ) const
69+
[[nodiscard]] GreyscaleColor operator+(
70+
const GreyscaleColor &other ) const
7071
{
7172
return GreyscaleColor{ static_cast< geode::local_index_t >(
7273
value() / 2 + other.value() / 2 ) };
@@ -77,7 +78,7 @@ namespace geode
7778
set_value( ( value() + other.value() ) / 2 );
7879
}
7980

80-
[[nodiscard]] std::string string() const
81+
[[nodiscard]] std::string string() const
8182
{
8283
return absl::StrCat( value_ );
8384
}

include/geode/mesh/helpers/hausdorff_distance.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace geode
3333

3434
namespace geode
3535
{
36-
[[nodiscard]] double opengeode_mesh_api hausdorff_distance(
36+
[[nodiscard]] double opengeode_mesh_api hausdorff_distance(
3737
const TriangulatedSurface3D& mesh_A,
3838
const TriangulatedSurface3D& mesh_B );
3939
} // namespace geode

include/geode/mesh/io/tetrahedral_solid_output.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ namespace geode
6464
};
6565

6666
template < index_t dimension >
67-
[[nodiscard]] bool is_tetrahedral_solid_saveable(
67+
[[nodiscard]] bool is_tetrahedral_solid_saveable(
6868
const TetrahedralSolid< dimension >& tetrahedral_solid,
6969
std::string_view filename );
7070

include/geode/model/mixin/core/component.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace geode
5050
Component( Component&& other ) noexcept;
5151
virtual ~Component();
5252

53-
[[nodiscard]] virtual ComponentType component_type() const = 0;
53+
[[nodiscard]] virtual ComponentType component_type() const = 0;
5454

5555
protected:
5656
Component();

0 commit comments

Comments
 (0)