Sébastien Loriot
c27c162950
remove useless function
...
even worse some useless cleaning was done before deallocation
2022-04-06 12:08:14 +02:00
Sébastien Loriot
e059d68e94
use the first element in the table
...
before 0 was used as a sentinel for checking if an element
was used, so table[0] could not be used.
2022-04-06 12:02:12 +02:00
Sébastien Loriot
157658848b
remove tss variable
...
@afabri we must check with a benchmark if it does not penalize too much the code
2022-04-06 11:52:21 +02:00
Sébastien Loriot
b8782cae39
make Unique_hash_map lookup thread safe
...
STOP.k was used in lookup
2022-04-06 11:24:24 +02:00
Sébastien Loriot
72f3cd282d
use inline initialization
2022-04-06 11:14:50 +02:00
Sébastien Loriot
dfadf57c8e
remove unused functions
2022-04-06 11:13:24 +02:00
Sébastien Loriot
a20c807e4e
remove old_ data members
...
they are now only used locally during the call to rehash()
The only goal was the usage of old_index which seems not
needed anymore
2022-04-06 11:08:41 +02:00
Andreas Fabri
d9d85fbe3c
Move member variable position in initializer list
2022-03-18 09:08:38 +01:00
Giles Bathgate
16bed97ec5
Remove sizing of hash tables in copy constructors, size just grows
2022-03-17 20:21:12 +00:00
Giles Bathgate
933604b1e6
Init hashtable size in SNC_structure
2022-03-11 21:27:32 +00:00
Giles Bathgate
d7be0897d1
Add reserve method to chained_map/Unique_hash_map
2022-03-10 18:24:07 +00:00
Giles Bathgate
c12b42bb5e
Initalise table on first access
2022-03-10 18:24:07 +00:00
Giles Bathgate
7d0d6a06be
Use minimum size of 32, default size 512
2022-03-10 18:24:07 +00:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Sébastien Loriot
c0edb5ecaa
remove CGAL_CXX11 macro usage
2019-07-08 11:42:17 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +02:00
Andreas Fabri
c5cbd4a480
Fix typo; Remove unused typedef
2018-04-18 07:59:57 +01:00
Laurent Rineau
095c27e2be
cosmetic changes
2018-04-17 17:14:19 +02:00
Andreas Fabri
97ac4d5f51
Exploit that construct is variadic
2018-04-17 14:15:07 +01:00
Andreas Fabri
7cbffac35b
Deal with deprecated functions allocator<T>::construct/destroy
2018-04-17 13:35:04 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
51f5697d3d
Add missing #include
2016-09-30 15:23:14 +02:00
Clement Jamin
6c3e9909ec
Missing call to contruct
2014-07-02 13:03:39 +02:00
Clement Jamin
2668cdaf4b
Use CGAL_ALLOCATOR
2013-07-23 17:51:28 +02:00
Clement Jamin
60123e1678
Possibility to specify a custom allocator for Unique_hash_map and chained_map
2013-07-23 17:08:05 +02:00
Sébastien Loriot
91a5327fa8
change LGPLv2 -> LGPLv3
2011-10-10 13:48:25 +00:00
Sébastien Loriot
dff6dda8b3
Remove from copyright holder
...
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Andreas Fabri
7ba39436d1
int -> size_type/std::size_t
2010-06-21 15:08:06 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Sylvain Pion
8573fe26ce
Rename CGALi to internal.
2009-08-24 17:10:04 +00:00
Laurent Saboret
db6a8f948c
Change CVS keywords to SVN style
2006-02-16 14:30:13 +00:00
Laurent Saboret
1aad55d4cb
Change CVS keywords to SVN style
2006-02-14 10:08:15 +00:00
Laurent Saboret
92fc463393
Move packages to trunk root
2006-02-14 08:58:15 +00:00