Rename file representation to treap for better readability
This commit is contained in:
parent
1582e7e7cb
commit
17237e1cb3
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ struct line {
|
|||
typedef std::pair<line*, line*> two_lines;
|
||||
|
||||
// Treap representation of a file
|
||||
class file {
|
||||
class treap {
|
||||
public:
|
||||
line* root;
|
||||
|
||||
|
@ -79,7 +79,7 @@ public:
|
|||
}
|
||||
|
||||
public:
|
||||
file() {
|
||||
treap() {
|
||||
srand(120);
|
||||
root = nullptr;
|
||||
}
|
Loading…
Reference in a new issue