C++: Fix mixed tabs and spaces in non-test code

This commit is contained in:
Dave Bartolomeo
2018-11-07 11:32:17 -08:00
parent 0afbea968c
commit 5bf88f0f0a
17 changed files with 127 additions and 127 deletions

View File

@@ -1,13 +1,13 @@
typedef struct Names {
char first[100];
char last[100];
char first[100];
char last[100];
} Names;
int doFoo(Names n) { //wrong: n is passed by value (meaning the entire structure
//is copied onto the stack, instead of just a pointer)
...
...
}
int doBar(Names &n) { //better, only a reference is passed
...
...
}