diff options
author | John Hodge <tpg@mutabah.net> | 2015-03-18 21:37:09 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2015-03-18 21:37:09 +0800 |
commit | 7c774049e8a539ee32923dfbf9ad0c0f36ab4323 (patch) | |
tree | 181288bbff011178de807dccb4cb5f5c61bd7952 /src/common.hpp | |
parent | afd9fe2cc7f43fd036837db10e71b04410fadf9a (diff) | |
download | mrust-7c774049e8a539ee32923dfbf9ad0c0f36ab4323.tar.gz |
Local macros, fixed array literals
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hpp b/src/common.hpp index 01c710b9..c386b729 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -17,10 +17,10 @@ template <typename T> struct LList { - LList* m_prev; + const LList* m_prev; T m_item; - LList(LList* prev, T item): + LList(const LList* prev, T item): m_prev(prev), m_item( ::std::move(item) ) { |