mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 21:30:01 -05:00
Don't export methods on already exported classes.
This is always a mistake.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user