mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +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:
|
||||
@@ -30,13 +30,13 @@
|
||||
#define BOUNDARY_REPORTS_H
|
||||
|
||||
#include "ue2common.h"
|
||||
#include "util/noncopyable.h"
|
||||
|
||||
#include <set>
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
struct BoundaryReports : boost::noncopyable {
|
||||
struct BoundaryReports : noncopyable {
|
||||
std::set<ReportID> report_at_0; /* set of internal reports to fire
|
||||
* unconditionally at offset 0 */
|
||||
std::set<ReportID> report_at_0_eod; /* set of internal reports to fire
|
||||
|
@@ -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:
|
||||
@@ -30,13 +30,13 @@
|
||||
#define PARTITIONED_SET_H
|
||||
|
||||
#include "container.h"
|
||||
#include "noncopyable.h"
|
||||
#include "ue2_containers.h"
|
||||
#include "ue2common.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
#include <boost/dynamic_bitset.hpp>
|
||||
|
||||
namespace ue2 {
|
||||
@@ -53,7 +53,7 @@ static constexpr size_t INVALID_SUBSET = ~(size_t)0;
|
||||
*/
|
||||
|
||||
template<typename T>
|
||||
class partitioned_set : boost::noncopyable {
|
||||
class partitioned_set : noncopyable {
|
||||
public:
|
||||
class subset {
|
||||
public:
|
||||
|
@@ -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++; }
|
||||
|
@@ -36,12 +36,12 @@
|
||||
|
||||
#include "ue2common.h"
|
||||
#include "util/compile_error.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/report.h"
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <vector>
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
@@ -57,7 +57,7 @@ struct external_report_info {
|
||||
};
|
||||
|
||||
/** \brief Tracks Report structures, exhaustion and dedupe keys. */
|
||||
class ReportManager : boost::noncopyable {
|
||||
class ReportManager : noncopyable {
|
||||
public:
|
||||
explicit ReportManager(const Grey &g);
|
||||
|
||||
|
@@ -31,6 +31,7 @@
|
||||
|
||||
#include "ue2common.h"
|
||||
#include "util/graph_range.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/operators.h"
|
||||
|
||||
#include <boost/functional/hash.hpp>
|
||||
@@ -156,7 +157,7 @@ namespace ue2 {
|
||||
|
||||
namespace graph_detail {
|
||||
|
||||
class graph_base : boost::noncopyable {
|
||||
class graph_base : noncopyable {
|
||||
};
|
||||
|
||||
struct default_edge_property {
|
||||
|
Reference in New Issue
Block a user