Skip to content

Commit

Permalink
replace std::auto_ptr with std::unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldsmith committed Jan 3, 2025
1 parent c7b5d3e commit 824437a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/IlmCtl/CtlInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,7 @@ void Interpreter::_loadModule(const std::string &moduleName,
// set up the source code string for parsing.
//

#if __cplusplus >= 201103L
std::unique_ptr<istream> input;
#else
std::auto_ptr<istream> input;
#endif

if (!moduleSource.empty())
{
Expand Down

0 comments on commit 824437a

Please sign in to comment.