mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Format code using Clang-Format 10 and enforce via CI
Makes the format of the code base uniform.
This commit is contained in:
parent
b5bb500bd2
commit
ee72e8b9d8
97 changed files with 11189 additions and 10842 deletions
|
|
@ -15,10 +15,11 @@
|
|||
class calculator
|
||||
{
|
||||
view& v;
|
||||
public:
|
||||
calculator( view& v ): v(v){}
|
||||
|
||||
void add( int a, int b ){ v.display(a + b); } // the result will be sent to the view 'v'
|
||||
public:
|
||||
calculator(view& v) : v(v) {}
|
||||
|
||||
void add(int a, int b) { v.display(a + b); } // the result will be sent to the view 'v'
|
||||
};
|
||||
//]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue