[gnome-commander/ConvertWarningsToErrors] Adds standard destructors to remove gcc warning
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] Adds standard destructors to remove gcc warning
- Date: Sat, 22 Apr 2017 15:34:41 +0000 (UTC)
commit 9a4451a7e31f0eb5722eace2f16c6f6cda69ecc7
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sat Apr 22 17:28:54 2017 +0200
Adds standard destructors to remove gcc warning
src/gnome-cmd-data.h | 1 +
src/gnome-cmd-regex.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.h b/src/gnome-cmd-data.h
index 598be9a..987cc66 100644
--- a/src/gnome-cmd-data.h
+++ b/src/gnome-cmd-data.h
@@ -506,6 +506,7 @@ struct GnomeCmdData
explicit SearchConfig(std::vector<Selection> &selections): width(600), height(400),
name_patterns(SEARCH_HISTORY_SIZE), content_patterns(SEARCH_HISTORY_SIZE), profiles(selections) {
default_profile.name = "Default"; }
friend XML::xstream &operator << (XML::xstream &xml, SearchConfig &cfg);
+ ~SearchConfig() {};
};
struct AdvrenameConfig
diff --git a/src/gnome-cmd-regex.h b/src/gnome-cmd-regex.h
index edd57e7..074bff9 100644
--- a/src/gnome-cmd-regex.h
+++ b/src/gnome-cmd-regex.h
@@ -44,6 +44,7 @@ namespace GnomeCmd
std::string replacement;
ReplacePattern() {}
+ ~ReplacePattern() {}
ReplacePattern(const gchar *from, const gchar *to, gboolean case_sensitive);
ReplacePattern(const std::string &from, const std::string &to, gboolean case_sensitive):
FindPattern(from,case_sensitive), replacement(to) {}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]