diff options
| author | Adrian Kummerlaender | 2014-12-19 20:19:36 +0100 | 
|---|---|---|
| committer | Adrian Kummerlaender | 2014-12-19 20:19:36 +0100 | 
| commit | 6c14deb5b8e377a7bdc1a44d91458f17a4f24981 (patch) | |
| tree | 21880633562aa66ee1575c625d195a269246b4ff /src/utility.h | |
| parent | 9ac59f5f26c8b8c01e127249d71798a99f756df8 (diff) | |
| download | Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar.gz Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar.bz2 Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar.lz Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar.xz Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.tar.zst Trie-6c14deb5b8e377a7bdc1a44d91458f17a4f24981.zip | |
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
Diffstat (limited to 'src/utility.h')
| -rw-r--r-- | src/utility.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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;  		} | 
