[cpp-sp] branch main updated: Remove redundant macro and modernize the original.
Scott Cantor
cantor.2 at osu.edu
Thu Jun 12 17:01:34 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=b3f36e7e91a1bed2cb84a3067cd9ba93e7382a26
The following commit(s) were added to refs/heads/main by this push:
new b3f36e7e Remove redundant macro and modernize the original.
b3f36e7e is described below
commit b3f36e7e91a1bed2cb84a3067cd9ba93e7382a26
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jun 12 13:01:23 2025 -0400
Remove redundant macro and modernize the original.
---
shibsp/base.h | 4 ++--
shibsp/internal.h | 8 --------
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/shibsp/base.h b/shibsp/base.h
index 695dca7e..996de001 100644
--- a/shibsp/base.h
+++ b/shibsp/base.h
@@ -68,8 +68,8 @@
*/
#define MAKE_NONCOPYABLE(type) \
private: \
- type(const type&); \
- type& operator=(const type&)
+ type(const type&) = delete; \
+ type& operator=(const type&) = delete
/** Logging category for Service Provider functions. */
#define SHIBSP_LOGCAT "Shibboleth"
diff --git a/shibsp/internal.h b/shibsp/internal.h
index f2222080..91cc3a01 100644
--- a/shibsp/internal.h
+++ b/shibsp/internal.h
@@ -35,14 +35,6 @@
#define SHIBSP_EXPORTS
#endif
-#ifndef MAKE_NONCOPYABLE
-#define MAKE_NONCOPYABLE(type) \
- private: \
- type(const type&); \
- type& operator=(const type&)
-
-#endif
-
// eventually we might be able to support autoconf via cygwin...
#if defined (_MSC_VER) || defined(__BORLANDC__)
# include "config_win32.h"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list