mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: remove alloc_filter_preset() and free_filter_preset()
All users of that are now C++ and don't need these helpers. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
cf7c54bd56
commit
92a1a08b21
6 changed files with 15 additions and 29 deletions
|
@ -10,6 +10,7 @@
|
|||
#include "filterpreset.h"
|
||||
#include "picture.h"
|
||||
|
||||
#include <memory>
|
||||
#include <sqlite3.h>
|
||||
#include <time.h>
|
||||
|
||||
|
@ -68,7 +69,7 @@ struct parser_state {
|
|||
struct dive_trip *cur_trip = nullptr; /* owning */
|
||||
struct sample *cur_sample = nullptr; /* non-owning */
|
||||
struct picture cur_picture { 0 }; /* owning */
|
||||
struct filter_preset *cur_filter = nullptr; /* owning */
|
||||
std::unique_ptr<filter_preset> cur_filter; /* owning */
|
||||
std::string fulltext; /* owning */
|
||||
std::string fulltext_string_mode; /* owning */
|
||||
std::string filter_constraint_type; /* owning */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue