diff options
author | George L. Albany <Megacake1234@gmail.com> | 2024-06-22 21:58:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-22 21:58:35 +0200 |
commit | deed8ec0ae23651529a58125012c1b4aab015d02 (patch) | |
tree | 51ca6d5948e92be37b9ee6674cb96801d2cd03f8 /include/openvic-dataloader/NodeLocation.hpp | |
parent | 8b623bf4087aa360842ad31145d4ab6946cee9aa (diff) | |
parent | 1a694a8b26a441b12547057d6e0be61a111cced3 (diff) |
Merge pull request #49 from OpenVicProject/add/unit-testing
Add unit testing
Diffstat (limited to 'include/openvic-dataloader/NodeLocation.hpp')
-rw-r--r-- | include/openvic-dataloader/NodeLocation.hpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/openvic-dataloader/NodeLocation.hpp b/include/openvic-dataloader/NodeLocation.hpp index ced79e6..7f7a09c 100644 --- a/include/openvic-dataloader/NodeLocation.hpp +++ b/include/openvic-dataloader/NodeLocation.hpp @@ -11,10 +11,12 @@ namespace ovdl { const char_type* _end = nullptr; BasicNodeLocation() = default; - BasicNodeLocation(const char_type* pos) : _begin(pos), - _end(pos) {} - BasicNodeLocation(const char_type* begin, const char_type* end) : _begin(begin), - _end(end) {} + BasicNodeLocation(const char_type* pos) + : _begin(pos), + _end(pos) {} + BasicNodeLocation(const char_type* begin, const char_type* end) + : _begin(begin), + _end(end) {} BasicNodeLocation(const BasicNodeLocation&) noexcept = default; BasicNodeLocation& operator=(const BasicNodeLocation&) = default; |