mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
noncopyable: switch over from boost
This commit is contained in:
committed by
Matthew Barr
parent
a9844fbf74
commit
1ef87c43ee
@@ -42,6 +42,7 @@
|
||||
#include "rose_in_graph.h"
|
||||
#include "util/alloc.h"
|
||||
#include "util/charreach.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/ue2_containers.h"
|
||||
#include "util/ue2string.h"
|
||||
|
||||
@@ -50,8 +51,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
|
||||
struct NFA;
|
||||
struct SmallWriteEngine;
|
||||
struct RoseEngine;
|
||||
@@ -80,7 +79,7 @@ public:
|
||||
|
||||
/** \brief Abstract interface intended for callers from elsewhere in the tree,
|
||||
* real underlying implementation is RoseBuildImpl in rose_build_impl.h. */
|
||||
class RoseBuild : boost::noncopyable {
|
||||
class RoseBuild : noncopyable {
|
||||
public:
|
||||
virtual ~RoseBuild();
|
||||
|
||||
|
@@ -56,6 +56,7 @@
|
||||
#include "util/dump_charclass.h"
|
||||
#include "util/graph_range.h"
|
||||
#include "util/make_unique.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/order_check.h"
|
||||
#include "util/report_manager.h"
|
||||
#include "util/ue2string.h"
|
||||
@@ -68,8 +69,6 @@
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace ue2 {
|
||||
@@ -77,7 +76,7 @@ namespace ue2 {
|
||||
/**
|
||||
* \brief Data used by most of the construction code in this file.
|
||||
*/
|
||||
struct RoseBuildData : boost::noncopyable {
|
||||
struct RoseBuildData : noncopyable {
|
||||
RoseBuildData(const RoseInGraph &ig_in, bool som_in)
|
||||
: ig(ig_in), som(som_in) {}
|
||||
|
||||
|
@@ -86,6 +86,7 @@
|
||||
#include "util/graph_range.h"
|
||||
#include "util/make_unique.h"
|
||||
#include "util/multibit_build.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/order_check.h"
|
||||
#include "util/popcount.h"
|
||||
#include "util/queue_index_factory.h"
|
||||
@@ -177,7 +178,7 @@ struct RoseResources {
|
||||
bool has_eod = false;
|
||||
};
|
||||
|
||||
struct build_context : boost::noncopyable {
|
||||
struct build_context : noncopyable {
|
||||
/** \brief information about engines to the left of a vertex */
|
||||
map<RoseVertex, left_build_info> leftfix_info;
|
||||
|
||||
@@ -237,7 +238,7 @@ struct build_context : boost::noncopyable {
|
||||
|
||||
/** \brief Data only used during construction of various programs (literal,
|
||||
* anchored, delay, etc). */
|
||||
struct ProgramBuild : boost::noncopyable {
|
||||
struct ProgramBuild : noncopyable {
|
||||
/** \brief Mapping from vertex to key, for vertices with a
|
||||
* CHECK_NOT_HANDLED instruction. */
|
||||
ue2::unordered_map<RoseVertex, u32> handledKeys;
|
||||
|
@@ -35,17 +35,16 @@
|
||||
#include "util/alloc.h"
|
||||
#include "util/container.h"
|
||||
#include "util/multibit_build.h"
|
||||
#include "util/noncopyable.h"
|
||||
#include "util/ue2_containers.h"
|
||||
#include "util/verify_types.h"
|
||||
|
||||
#include <vector>
|
||||
#include <type_traits>
|
||||
|
||||
#include <boost/core/noncopyable.hpp>
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
class RoseEngineBlob : boost::noncopyable {
|
||||
class RoseEngineBlob : noncopyable {
|
||||
public:
|
||||
/** \brief Base offset of engine_blob in the Rose engine bytecode. */
|
||||
static constexpr u32 base_offset = ROUNDUP_CL(sizeof(RoseEngine));
|
||||
|
Reference in New Issue
Block a user