aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/qtcreator/templates/wizards/projects/cpplibrary/lib.h2
-rw-r--r--share/qtcreator/templates/wizards/projects/cpplibrary/lib_global.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/share/qtcreator/templates/wizards/projects/cpplibrary/lib.h b/share/qtcreator/templates/wizards/projects/cpplibrary/lib.h
index 80ef326ce5..4a5d1247a4 100644
--- a/share/qtcreator/templates/wizards/projects/cpplibrary/lib.h
+++ b/share/qtcreator/templates/wizards/projects/cpplibrary/lib.h
@@ -17,14 +17,12 @@
@if %{IsShared}
class %{LibraryExport} %{CN}
{
-
public:
%{CN}();
};
@elsif %{IsStatic}
class %{CN}
{
-
public:
%{CN}();
};
diff --git a/share/qtcreator/templates/wizards/projects/cpplibrary/lib_global.h b/share/qtcreator/templates/wizards/projects/cpplibrary/lib_global.h
index d6d65c377d..c665cf911c 100644
--- a/share/qtcreator/templates/wizards/projects/cpplibrary/lib_global.h
+++ b/share/qtcreator/templates/wizards/projects/cpplibrary/lib_global.h
@@ -23,7 +23,7 @@
#else
# define %{LibraryExport} Q_DECL_IMPORT
#endif
-
@if ! '%{Cpp:PragmaOnce}'
+
#endif // %{GLOBAL_GUARD}
@endif