~mysql/mysql-connector-cpp/trunk

« back to all changes in this revision

Viewing changes to test/CJUnitTestsPort/simple/BlobTest.h

  • Committer: Hemant Dangi
  • Date: 2014-12-17 16:28:39 UTC
  • Revision ID: hemant.dangi@oracle.com-20141217162839-sdbpj3fcwn5gxjxh
Bug #75251: Add C++11 support and replace (deprecated in C++11) auto_ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
 
2
Copyright (c) 2009, 2014, Oracle and/or its affiliates. All rights reserved.
3
3
 
4
4
The MySQL Connector/C++ is licensed under the terms of the GPLv2
5
5
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most
25
25
 
26
26
 
27
27
#include <fstream>
 
28
#include <boost/scoped_ptr.hpp>
28
29
 
29
30
#include "../../common/file.h"
30
31
 
46
47
  private:
47
48
    typedef BaseTestFixture super;
48
49
 
49
 
    std::auto_ptr<FileUtils::ccppFile> testBlobFile;
 
50
    boost::scoped_ptr<FileUtils::ccppFile> testBlobFile;
50
51
 
51
52
    bool realFrameworkTiming;
52
53