From e6ebad302750d5b8b8e1a22052653991687460d5 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 20 Nov 2020 12:03:06 -0500 Subject: [PATCH] minor comment fixes --- client/TracyProfiler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 177bc1a0..a2ded539 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -2932,7 +2932,7 @@ struct MappingInfo { // Start of address range. Inclusive. uintptr_t start_address; // End of address range. Exclusive, so the mapping is the half-open interval - // [start, end) and its length in bytes is `end - start`). As in /proc/self/maps. + // [start, end) and its length in bytes is `end - start`. As in /proc/self/maps. uintptr_t end_address; // Read/Write/Executable permissions. bool perm_r, perm_w, perm_x; @@ -2981,8 +2981,6 @@ MappingInfo* LookUpMapping(std::vector& mappings, uintptr_t address { // We assume mappings to be sorted by address, as /proc/self/maps seems to be. // Construct a MappingInfo just for the purpose of using std::lower_bound. - // (It's an abuse of MappingInfo since this address range is not necessarily - // one mapping). MappingInfo needle; needle.start_address = address; needle.end_address = address;