memgraph/include/query_engine/query_program.hpp
2016-08-10 09:39:02 +01:00

19 lines
411 B
C++

#pragma once
#include "query_engine/i_code_cpu.hpp"
#include "query_engine/query_stripped.hpp"
struct QueryProgram
{
QueryProgram(ICodeCPU *code, QueryStripped &&stripped)
: code(code), stripped(std::forward<QueryStripped>(stripped))
{
}
QueryProgram(QueryProgram &other) = delete;
QueryProgram(QueryProgram &&other) = default;
ICodeCPU *code;
QueryStripped stripped;
};