Skip to content

Commit 7bbdbbb

Browse files
cmd: formatting
1 parent 84d86d3 commit 7bbdbbb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/cmd.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,9 @@ class cmd
3636
constexpr bool operator< (cmd rhs) const { return val_ < rhs.val_; }
3737
constexpr bool operator==(cmd rhs) const { return val_== rhs.val_; }
3838

39-
auto to_chars() const // for debugging
39+
constexpr auto to_chars() const
4040
{
41-
return std::make_tuple(
42-
to_char(val_ >> 24), to_char(val_ >> 16), to_char(val_ >> 8), to_char(val_)
43-
);
41+
return std::make_tuple(to_char(val_ >> 24), to_char(val_ >> 16), to_char(val_ >> 8), to_char(val_));
4442
}
4543

4644
private:

0 commit comments

Comments
 (0)