From 6728f9346bd308d57d155edb671e8d966daf657e Mon Sep 17 00:00:00 2001 From: xiaoyifang Date: Sat, 26 Feb 2022 13:56:50 +0800 Subject: [PATCH] clean:remove empty file ,cpp_features.hh --- .gitignore | 3 +++ btreeidx.hh | 1 - config.hh | 1 - cpp_features.hh | 6 ------ dictionary.hh | 1 - externalviewer.hh | 1 - file.hh | 1 - goldendict.pro | 1 - iconv.hh | 1 - utf8.hh | 1 - 10 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 cpp_features.hh diff --git a/.gitignore b/.gitignore index b657073a..eac3e6a8 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,6 @@ GoldenDict.xcodeproj/ *.opensdf *.suo *.vcxproj.user +/.idea +/.vs +/.vscode diff --git a/btreeidx.hh b/btreeidx.hh index 6e4a33f6..bd38a578 100644 --- a/btreeidx.hh +++ b/btreeidx.hh @@ -14,7 +14,6 @@ #include #include #include -#include "cpp_features.hh" #if defined( _MSC_VER ) && _MSC_VER < 1800 // VS2012 and older #include diff --git a/config.hh b/config.hh index 9be7203c..87e718b0 100644 --- a/config.hh +++ b/config.hh @@ -12,7 +12,6 @@ #include #include #include -#include "cpp_features.hh" #include "ex.hh" #ifdef Q_OS_WIN diff --git a/cpp_features.hh b/cpp_features.hh deleted file mode 100644 index fe71f005..00000000 --- a/cpp_features.hh +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef __CPP_HH_INCLUDED__ -#define __CPP_HH_INCLUDED__ - - - -#endif // CPP_HH diff --git a/dictionary.hh b/dictionary.hh index b1877791..3d18ac54 100644 --- a/dictionary.hh +++ b/dictionary.hh @@ -9,7 +9,6 @@ #include #include #include -#include "cpp_features.hh" #include "sptr.hh" #include "ex.hh" #include "mutex.hh" diff --git a/externalviewer.hh b/externalviewer.hh index 46db5d6f..b7bb6ba6 100644 --- a/externalviewer.hh +++ b/externalviewer.hh @@ -8,7 +8,6 @@ #include #include #include "ex.hh" -#include "cpp_features.hh" /// An external viewer, opens resources in other programs class ExternalViewer: public QObject diff --git a/file.hh b/file.hh index f4b5f216..81281647 100644 --- a/file.hh +++ b/file.hh @@ -8,7 +8,6 @@ #include #include #include -#include "cpp_features.hh" #include "ex.hh" /// A simple wrapper over FILE * operations with added write-buffering, diff --git a/goldendict.pro b/goldendict.pro index 8d667fac..4c13df3f 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -340,7 +340,6 @@ HEADERS += folding.hh \ gls.hh \ splitfile.hh \ favoritespanewidget.hh \ - cpp_features.hh \ treeview.hh FORMS += groups.ui \ diff --git a/iconv.hh b/iconv.hh index ab99cb8f..fbdb0729 100644 --- a/iconv.hh +++ b/iconv.hh @@ -7,7 +7,6 @@ #include #include "wstring.hh" #include "ex.hh" -#include "cpp_features.hh" /// A wrapper for the iconv() character set conversion functions class Iconv diff --git a/utf8.hh b/utf8.hh index 81039d7d..ce636276 100644 --- a/utf8.hh +++ b/utf8.hh @@ -5,7 +5,6 @@ #include #include -#include "cpp_features.hh" #include "ex.hh" #include "wstring.hh"