Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

Commit aa6c29e

Browse files
committed
fix: made fields inside location structure private
1 parent db394ce commit aa6c29e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎include/lbd/frontend/location.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace frontend {
66
struct Location {
7-
// TODO: Maybe make these members private.
8-
size_t row;
9-
size_t col;
10-
std::string filepath;
11-
127
Location(size_t row, size_t col, std::string filepath);
138

149
friend std::ostream &operator<<(std::ostream &stream, const Location &location);
10+
11+
private:
12+
size_t row;
13+
size_t col;
14+
std::string filepath;
1515
};
1616
}

0 commit comments

Comments
 (0)