还是一堆bug的状态
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <iostream>
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
namespace Psc {
|
||||
namespace Flex_Qt {
|
||||
struct Base_Table_Data;
|
||||
struct Base_Info;
|
||||
struct Row_Info;
|
||||
@@ -26,8 +26,7 @@ struct Pos {
|
||||
[[nodiscard]] int pos() const {
|
||||
return cell_pos + offset;
|
||||
}
|
||||
Pos(int index, int cell_pos, int offset) : index(index), cell_pos(cell_pos), offset(offset) {
|
||||
}
|
||||
Pos(int index, int cell_pos, int offset) : index(index), cell_pos(cell_pos), offset(offset) {}
|
||||
bool operator==(const Pos& p) const {
|
||||
return p.cell_pos == cell_pos && index == p.index && offset == p.offset;
|
||||
}
|
||||
@@ -51,4 +50,4 @@ enum class Edge_Expand_Type {
|
||||
Negative, // 逆着坐标轴方向拓展
|
||||
None // 不进行边缘拓展
|
||||
};
|
||||
} // namespace Psc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user