summaryrefslogtreecommitdiff
path: root/libitm/containers.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-16 11:17:15 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-16 11:17:15 +0000
commitc2e9c1da57c35f46052398ab31707ceb2dfc4e09 (patch)
treeafd93279258b2ca1d846fdca1df67587efe6faad /libitm/containers.h
parent56664e5da23e1ca0072b690b206c297484897bd3 (diff)
downloadgcc-c2e9c1da57c35f46052398ab31707ceb2dfc4e09.tar.gz
2012-01-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 183204 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183208 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/containers.h')
-rw-r--r--libitm/containers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libitm/containers.h b/libitm/containers.h
index 394b6f2508e..36905659da2 100644
--- a/libitm/containers.h
+++ b/libitm/containers.h
@@ -92,6 +92,7 @@ class vector
size_t size() const { return m_size; }
size_t capacity() const { return this->capacity; }
+ void set_size (size_t size) { m_size = size; }
void clear() { m_size = 0; }
iterator push() {