Commit 67b6d203 authored by Freark van der Berg's avatar Freark van der Berg Committed by Alfons Laarman
Browse files

Fix compilation with gcc 4.8

parent 6cd0912e
......@@ -161,8 +161,8 @@ class array_of_abstract_t
* doesn't relesase the memory allocated for the last item (this memory
* will be reused in the next push_back()) - therefore it runs in a
* time <i>O(1)</i> and it it really fast operation. */
T pop_back()
{ T result = (*array[array.size()]);
T* pop_back()
{ T* result = (array[array.size()]);
return result; }
//!Resizes the container to the size of `count' elements.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment