Skip to content

Commit

Permalink
std::unique_ptr requires #include <memory> (fix GCC 4.7 compilation)
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jun 19, 2016
1 parent 9428a65 commit 0f2a520
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdal/ogr/ogrsf_frmts/cad/libopencad/cadlayer.cpp
Expand Up @@ -29,6 +29,8 @@
* SOFTWARE.
*******************************************************************************/
#include <iostream>
#include <memory>

#include "cadlayer.h"
#include "cadfile.h"

Expand Down
2 changes: 2 additions & 0 deletions gdal/ogr/ogrsf_frmts/cad/ogr_cad.h
Expand Up @@ -29,6 +29,8 @@
#ifndef OGR_CAD_H_INCLUDED
#define OGR_CAD_H_INCLUDED

#include <memory>

#include "ogrsf_frmts.h"

#include "libopencad/opencad_api.h"
Expand Down

0 comments on commit 0f2a520

Please sign in to comment.