mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 02:30:35 +03:00
noncopyable: switch over from boost
This commit is contained in:
committed by
Matthew Barr
parent
a9844fbf74
commit
1ef87c43ee
@@ -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++; }
|
||||
|
||||
Reference in New Issue
Block a user