diff options
author | rbuj <[email protected]> | 2021-10-21 13:28:49 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-28 20:20:43 +0100 |
commit | 734e36da8fdb61e9c1f7172511c34fbca6c93ec8 (patch) | |
tree | fb209f267136811b07582223cad0a01a80b5889c /src | |
parent | 89823a27a72cdab0da4623b8b010873a9ab85b82 (diff) | |
download | mate-system-monitor-734e36da8fdb61e9c1f7172511c34fbca6c93ec8.tar.bz2 mate-system-monitor-734e36da8fdb61e9c1f7172511c34fbca6c93ec8.tar.xz |
memmaps: fix warning -Wmisleading-indentation
Diffstat (limited to 'src')
-rw-r--r-- | src/memmaps.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/memmaps.cpp b/src/memmaps.cpp index 12bd808..143684a 100644 --- a/src/memmaps.cpp +++ b/src/memmaps.cpp @@ -95,24 +95,24 @@ namespace if (dev != dev64) g_warning("weird device %" G_GINT64_MODIFIER "x", dev64); - Map::iterator it(this->devices.find(dev)); + Map::iterator it(this->devices.find(dev)); - if (it != this->devices.end()) - return it->second; + if (it != this->devices.end()) + return it->second; - guint8 major, minor; - major = dev >> 8; - minor = dev; + guint8 major, minor; + major = dev >> 8; + minor = dev; - std::ostringstream out; - out << std::hex - << std::setfill('0') - << std::setw(2) << unsigned(major) - << ':' - << std::setw(2) << unsigned(minor); + std::ostringstream out; + out << std::hex + << std::setfill('0') + << std::setw(2) << unsigned(major) + << ':' + << std::setw(2) << unsigned(minor); - this->devices[dev] = out.str(); - return out.str(); + this->devices[dev] = out.str(); + return out.str(); } }; |