summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--rangeset.h (renamed from updater/include/updater/rangeset.h)8
-rw-r--r--updater/blockimg.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/updater/include/updater/rangeset.h b/rangeset.h
index b67c98724..f224a08be 100644
--- a/updater/include/updater/rangeset.h
+++ b/rangeset.h
@@ -266,13 +266,13 @@ class SortedRangeSet : public RangeSet {
new_block_start += (old_block_start - range.first);
return (new_block_start * kBlockSize + old_offset % kBlockSize);
} else {
- CHECK(false) <<"block_start " << old_block_start << " is missing between two ranges: "
- << this->ToString();
+ CHECK(false) << "block_start " << old_block_start
+ << " is missing between two ranges: " << this->ToString();
return 0;
}
}
- CHECK(false) <<"block_start " << old_block_start << " exceeds the limit of current RangeSet: "
- << this->ToString();
+ CHECK(false) << "block_start " << old_block_start
+ << " exceeds the limit of current RangeSet: " << this->ToString();
return 0;
}
}; \ No newline at end of file
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index a0b9ad233..fe21dd0eb 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -53,8 +53,8 @@
#include "error_code.h"
#include "ota_io.h"
#include "print_sha1.h"
+#include "rangeset.h"
#include "updater/install.h"
-#include "updater/rangeset.h"
#include "updater/updater.h"
// Set this to 0 to interpret 'erase' transfers to mean do a