summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/Board.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-01 20:58:27 +0300
committerLinus Groh <mail@linusgroh.de>2022-04-01 21:24:45 +0100
commit086969277e74d8ba065bf8145d3aeb0dec0bfee5 (patch)
tree02b3699a66735ef806d9b46353491f18f8e4e7b4 /Userland/Games/GameOfLife/Board.h
parent0376c127f6e98e03607700d0b3f5154b7014b2f8 (diff)
downloadserenity-086969277e74d8ba065bf8145d3aeb0dec0bfee5.zip
Everywhere: Run clang-format
Diffstat (limited to 'Userland/Games/GameOfLife/Board.h')
-rw-r--r--Userland/Games/GameOfLife/Board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/Board.h b/Userland/Games/GameOfLife/Board.h
index 227311c1bb..8f1408858f 100644
--- a/Userland/Games/GameOfLife/Board.h
+++ b/Userland/Games/GameOfLife/Board.h
@@ -23,7 +23,7 @@ public:
void toggle_cell(size_t row, size_t column);
void set_cell(size_t row, size_t column, bool on);
bool cell(size_t row, size_t column) const;
- const Vector<Vector<bool>>& cells() const { return m_cells; }
+ Vector<Vector<bool>> const& cells() const { return m_cells; }
void run_generation();
bool is_stalled() const { return m_stalled; }