Skip to content

Commit

Permalink
Compilation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-PLACET committed Jan 31, 2025
1 parent 281796d commit 41bbcef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/sparrow/layout/temporal/interval_array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#include "sparrow/layout/array_trivial_copyable.hpp"
#include "sparrow/layout/temporal/interval_types.hpp"
#include "sparrow/types/data_traits.hpp"

// tiM : std::chrono::months
// tiD : sparrow::day_time_interval
Expand Down
4 changes: 2 additions & 2 deletions include/sparrow/layout/temporal/interval_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace sparrow
};
SPARROW_PACKED_STRUCT_END;

bool operator==(const days_time_interval& lhs, const days_time_interval& rhs)
inline bool operator==(const days_time_interval& lhs, const days_time_interval& rhs)
{
return lhs.days == rhs.days && lhs.time == rhs.time;
}
Expand All @@ -43,7 +43,7 @@ namespace sparrow
};
SPARROW_PACKED_STRUCT_END;

bool operator==(const month_day_nanoseconds_interval& lhs, const month_day_nanoseconds_interval& rhs)
inline bool operator==(const month_day_nanoseconds_interval& lhs, const month_day_nanoseconds_interval& rhs)
{
return lhs.months == rhs.months && lhs.days == rhs.days && lhs.nanoseconds == rhs.nanoseconds;
}
Expand Down

0 comments on commit 41bbcef

Please sign in to comment.