mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Retire std::auto_ptr and its macro CM_AUTO_PTR
Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
@@ -6,12 +6,11 @@
|
||||
#include "cmConfigure.h" // IWYU pragma: keep
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <memory> // IWYU pragma: keep
|
||||
#include <string>
|
||||
|
||||
#include "cmGlobalVisualStudioGenerator.h"
|
||||
#include "cmLocalGenerator.h"
|
||||
#include "cm_auto_ptr.hxx"
|
||||
|
||||
class cmCustomCommand;
|
||||
class cmCustomCommandGenerator;
|
||||
@@ -56,9 +55,8 @@ protected:
|
||||
virtual bool CustomCommandUseLocal() const { return false; }
|
||||
|
||||
/** Construct a custom command to make exe import lib dir. */
|
||||
CM_AUTO_PTR<cmCustomCommand> MaybeCreateImplibDir(cmGeneratorTarget* target,
|
||||
const std::string& config,
|
||||
bool isFortran);
|
||||
std::unique_ptr<cmCustomCommand> MaybeCreateImplibDir(
|
||||
cmGeneratorTarget* target, const std::string& config, bool isFortran);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user