From 6c14deb5b8e377a7bdc1a44d91458f17a4f24981 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 19 Dec 2014 20:19:36 +0100 Subject: Removed unnecessary `inline` declarations and changed recursions * `inline` is implicitly declared for function definitions inside the class declaration * recursive member methods are now provided with constant _current_ and _end_ iterators instead of the full _path_ vector --- src/utility.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utility.h') diff --git a/src/utility.h b/src/utility.h index db33608..6af6b6a 100644 --- a/src/utility.h +++ b/src/utility.h @@ -17,11 +17,11 @@ class optional_ptr { optional_ptr(pointer ptr): value_(true, ptr) { } - inline operator bool() const { + operator bool() const { return this->value_.first; } - inline pointer get() const { + pointer get() const { return this->value_.second; } -- cgit v1.2.3