head 1.2; access; symbols pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2016.02.13.08.40.22; author wiz; state dead; branches; next 1.1; commitid tS0iTnKtuVeErJUy; 1.1 date 2015.08.12.00.45.18; author ryoon; state Exp; branches; next ; commitid Uq57zc3OHZANLUwy; desc @@ 1.2 log @Update mdds to 1.0, based on the wip version by coypu and leot. mdds 1.0.0 * all * introduced API versioning to ease parallel installation of API incompatible versions. Version 1.0.0 will have an API versoin of 1.0. * C++11 is now a hard requirement. * added API documentation via Doxygen, Sphinx and Breathe. * mixed_type_matrix * officially removed for good in favor of multi_type_matrix. * multi_type_vector * added memory usage reduction by conditionally shrinking the capacity of the underlying vector containers. * added slight performance gain by revising block adjustment policy during splitting of blocks. * sorted_string_map * fixed a bug where a non-matching key was incorrectly returned as a matching key. @ text @$NetBSD: patch-include_mdds_point__quad__tree.hpp,v 1.1 2015/08/12 00:45:18 ryoon Exp $ --- include/mdds/point_quad_tree.hpp.orig 2015-06-11 23:53:55.000000000 +0000 +++ include/mdds/point_quad_tree.hpp @@@@ -635,10 +635,10 @@@@ point_quad_tree<_Key,_Data>::~point_quad template void point_quad_tree<_Key,_Data>::insert(key_type x, key_type y, data_type data) { - m_xrange.first = ::std::min(m_xrange.first, x); - m_xrange.second = ::std::max(m_xrange.second, x); - m_yrange.first = ::std::min(m_yrange.first, y); - m_yrange.second = ::std::max(m_yrange.second, y); + m_xrange.first = (::std::min)(m_xrange.first, x); + m_xrange.second = (::std::max)(m_xrange.second, x); + m_yrange.first = (::std::min)(m_yrange.first, y); + m_yrange.second = (::std::max)(m_yrange.second, y); if (!m_root) { @ 1.1 log @Update to 0.12.1 * Apply patches from LibreOffice 5.0.0.5. Changelog: mdds 0.12.1 * flat_segment_tree * removed construction-from-int requirement from value_type to allow non-numeric types to be stored. * removed construction-from-int requirement from key_type as well. @ text @d1 1 a1 1 $NetBSD$ @