summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/Driver.h')
-rw-r--r--src/libs/engine/Driver.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/Driver.h b/src/libs/engine/Driver.h
index 2fd17150..61d2b830 100644
--- a/src/libs/engine/Driver.h
+++ b/src/libs/engine/Driver.h
@@ -18,7 +18,7 @@
#define DRIVER_H
#include <string>
-using std::string;
+#include <boost/utility.hpp>
namespace Ingen {
@@ -33,7 +33,7 @@ template <typename T> class DuplexPort;
*
* \ingroup engine
*/
-class DriverPort {
+class DriverPort : boost::noncopyable {
public:
virtual ~DriverPort() {}
@@ -44,7 +44,7 @@ public:
virtual void remove_from_driver() = 0;
/** Set the name of the system port */
- virtual void set_name(const string& name) = 0;
+ virtual void set_name(const std::string& name) = 0;
protected:
DriverPort() {}
@@ -63,7 +63,7 @@ protected:
* \ingroup engine
*/
template <typename T>
-class Driver
+class Driver : boost::noncopyable
{
public:
virtual ~Driver() {}