]> git.llucax.com Git - software/posixx.git/blobdiff - src/buffer.hpp
Add Boost License
[software/posixx.git] / src / buffer.hpp
index 8613d2322fa5186958286afbdfa0ef2672fbc55c..af189c53425fb064e440bdde4f3ae8f7dd666ef3 100644 (file)
@@ -1,14 +1,18 @@
+// Copyright Leandro Lucarella 2008 - 2010.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file COPYING or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+
 #ifndef POSIXX_BUFFER_HPP_
 #define POSIXX_BUFFER_HPP_
 
 #include "basic_buffer.hpp" // posixx::basic_buffer
 
-#include <cstdlib> // std::realloc()
-
 namespace posixx {
 
 /// A buffer that uses realloc(3) for memory management.
-typedef basic_buffer< &std::realloc > buffer;
+typedef basic_buffer< unsigned char > buffer;
 
 } // namespace posixx