Ignore:
Timestamp:
07/30/10 16:49:24 (14 years ago)
Author:
Malte Marquarding
Message:

Make python wrapper noncopyable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newfiller/src/python_Filler.cpp

    r1786 r1787  
    3030//#---------------------------------------------------------------------------
    3131#include <boost/python.hpp>
     32#include <boost/noncopyable.hpp>
    3233
    3334#include "ScantableWrapper.h"
     
    4041
    4142    void python_Filler() {
    42       class_<FillerWrapper>("filler")
    43         .def( init < ScantableWrapper > () )
     43      class_<FillerWrapper, boost::noncopyable>("filler",
     44                                                init < ScantableWrapper >() )
    4445        .def("open", &FillerWrapper::open)
    4546        .def("fill", &FillerWrapper::fill)
Note: See TracChangeset for help on using the changeset viewer.