summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/stl_tempbuf.h
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-04 12:10:13 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-04 12:10:13 +0000
commitb28c727a1e13feae72be21b9d3ae3e2aee8e11c9 (patch)
tree1999215064ffeb9a8939eecd44b3df6f30154644 /libstdc++-v3/include/bits/stl_tempbuf.h
parent35107d49a96ab4169295e147c348eac5c354e9a4 (diff)
downloadgcc-b28c727a1e13feae72be21b9d3ae3e2aee8e11c9.tar.gz
2003-07-04 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_list.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup. * include/bits/stl_queue.h: Likewise. * include/bits/stl_raw_storage_iter.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_tree.h: Likewise. * include/bits/stl_uninitialized.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/ext/rope: Change includes order. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits/stl_tempbuf.h')
-rw-r--r--libstdc++-v3/include/bits/stl_tempbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/stl_tempbuf.h b/libstdc++-v3/include/bits/stl_tempbuf.h
index 000e64a661a..4f90402fea2 100644
--- a/libstdc++-v3/include/bits/stl_tempbuf.h
+++ b/libstdc++-v3/include/bits/stl_tempbuf.h
@@ -99,7 +99,7 @@ template <class _ForwardIterator, class _Tp>
void _M_initialize_buffer(const _Tp&, __true_type) {}
void _M_initialize_buffer(const _Tp& val, __false_type) {
- uninitialized_fill_n(_M_buffer, _M_len, val);
+ std::uninitialized_fill_n(_M_buffer, _M_len, val);
}
public:
@@ -133,7 +133,7 @@ public:
}
~_Temporary_buffer() {
- _Destroy(_M_buffer, _M_buffer + _M_len);
+ std::_Destroy(_M_buffer, _M_buffer + _M_len);
free(_M_buffer);
}