Fixed a compile time bug.

This commit is contained in:
Davis King 2015-11-21 16:43:26 -05:00
parent f47e3270be
commit dbbce8253e
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ namespace dlib
{
public:
sstack() {}
explicit sstack(const T& item_) : item(item_) {}
sstack(const T& item_) : item(item_) {}
const T& top() const { return item; }
T& top() { return item; }