Don't export methods on already exported classes.
This is always a mistake.
This commit is contained in:
parent
750b67c5a1
commit
1590d5fe4f
|
@ -8,11 +8,7 @@ class LIBSHARED_AND_STATIC_EXPORT LibsharedAndStatic {
|
|||
public:
|
||||
int libshared_and_static() const;
|
||||
|
||||
#ifdef COMPILER_IS_MSVC
|
||||
int libshared_and_static_exported() const;
|
||||
#else
|
||||
int LIBSHARED_AND_STATIC_EXPORT libshared_and_static_exported() const;
|
||||
#endif
|
||||
|
||||
int LIBSHARED_AND_STATIC_DEPRECATED libshared_and_static_deprecated() const;
|
||||
|
||||
|
|
|
@ -8,12 +8,7 @@ class LIBSHARED_EXPORT Libshared {
|
|||
public:
|
||||
int libshared() const;
|
||||
|
||||
#ifdef COMPILER_IS_MSVC
|
||||
// Double exporting not possible with MSVC
|
||||
int libshared_exported() const;
|
||||
#else
|
||||
int LIBSHARED_EXPORT libshared_exported() const;
|
||||
#endif
|
||||
|
||||
int LIBSHARED_DEPRECATED libshared_deprecated() const;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ class LIBSTATIC_EXPORT Libstatic {
|
|||
public:
|
||||
int libstatic() const;
|
||||
|
||||
int LIBSTATIC_EXPORT libstatic_exported() const;
|
||||
int libstatic_exported() const;
|
||||
|
||||
int LIBSTATIC_DEPRECATED libstatic_deprecated() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue