noncopyable: switch over from boost

This commit is contained in:
Justin Viiret
2017-03-30 14:37:35 +11:00
committed by Matthew Barr
parent a9844fbf74
commit 1ef87c43ee
22 changed files with 48 additions and 54 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, Intel Corporation
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -33,12 +33,11 @@
#define UTIL_QUEUE_INDEX_FACTORY_H
#include "ue2common.h"
#include <boost/core/noncopyable.hpp>
#include "util/noncopyable.h"
namespace ue2 {
class QueueIndexFactory : boost::noncopyable {
class QueueIndexFactory : noncopyable {
public:
QueueIndexFactory() : val(0) {}
u32 get_queue() { return val++; }