Skip to content

Commit

Permalink
Use constexpr function call for Uuid size.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Feb 7, 2020
1 parent d8bebfb commit 5822839
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/lasdump/Header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ namespace
{
void get(ILeStream& in, Uuid& uuid)
{
std::vector<char> buf(uuid.size);
std::vector<char> buf(uuid.size());

in.get(buf.data(), uuid.size);
in.get(buf.data(), uuid.size());
uuid.unpack(buf.data());
}

Expand Down

0 comments on commit 5822839

Please sign in to comment.