Revision 2eca52d3e3eea2f82d20134466286f498b10aba3 authored by Filip Roséen on 04 March 2016, 16:04:14 UTC, committed by Jean-Baptiste Kempf on 05 March 2016, 21:20:49 UTC
In order to provide better runtime safety manual management of dynamic
memory has been removed from `class Tags` and `class SimpleTags`.

This includes introducing usage of `std::vector` as well as
`std::string`, while also removing data-members that are no longer
required.

 - SimpleTag::b_default has been removed since it was written to (at
   once place), but never read; the write has been replaced by a comment.

 - The ParseSimpleTag function has been changed to return `bool` instead
   of a pointer to signal whether parsing was successful. The result
   will be written to `pout_simple` (instead of being indirectly
   returned through a pointer).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent e527210
History
File Mode Size
dirs.c -rw-r--r-- 6.7 KB
error.c -rw-r--r-- 2.6 KB
filesystem.c -rw-r--r-- 8.4 KB
linux_cpu.c -rw-r--r-- 4.1 KB
linux_specific.c -rw-r--r-- 3.1 KB
netconf.c -rw-r--r-- 3.4 KB
plugin.c -rw-r--r-- 3.3 KB
rand.c -rw-r--r-- 3.1 KB
specific.c -rw-r--r-- 1.3 KB
thread.c -rw-r--r-- 19.0 KB
timer.c -rw-r--r-- 4.6 KB

back to top