Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3622

Fix deprecated uses of std::auto_ptr

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • C++ - Library
    • None

    Description

      We have some in lib/cpp, like so:

      JSONProtoTest.cpp:35:13: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
       static std::auto_ptr<OneOfEach> ooe;
                   ^
      In file included from /usr/include/c++/5.3.0/bits/locale_conv.h:41:0,
                       from /usr/include/c++/5.3.0/locale:43,
                       from /usr/include/c++/5.3.0/iomanip:43,
                       from JSONProtoTest.cpp:22:
      

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              jsirois John Sirois
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: