]> git.lyx.org Git - lyx.git/blobdiff - src/support/limited_stack.h
Correct comment
[lyx.git] / src / support / limited_stack.h
index b17eeae19dbca92efecaedff761a8f40d73d8744..c76497c4479dcabb3368a140d1cdd36cb90c7f79 100644 (file)
@@ -32,9 +32,7 @@ public:
        typedef typename container_type::const_iterator const_iterator;
 
        /// limit is the maximum size of the stack
-       limited_stack(size_type limit = 100) {
-               limit_ = limit;
-       }
+       limited_stack(size_type limit = 100) : limit_(limit) {}
 
        /// Return the top element.
        value_type & top() {