Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Seminar08/README.md2
diff --git a/Seminar08/README.md b/Seminar08/README.md
index fcb7df9..9948c59 100644
--- a/Seminar08/README.md
+++ b/Seminar08/README.md
@@ -108,7 +108,7 @@ Tree<int>* createExampleOne() {
```cpp
template<class T>
bool isLeaf(const Tree<T>* t) {
- return t != nullptr && r->left == nullptr && t->right == nullptr;
+ return t != nullptr && t->left == nullptr && t->right == nullptr;
}
```