aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-04-08 11:50:03 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-04-08 11:50:03 +0200
commit574abdd7821db0ac963dcf9da6bd98a6d6ef31e0 (patch)
tree12429c46380b38f234a330b09924ea32096b9179
parent07ab2a2f13bc6776569dd1eb7679e555e33b2f70 (diff)
downloadPROJ-574abdd7821db0ac963dcf9da6bd98a6d6ef31e0.tar.gz
PROJ-574abdd7821db0ac963dcf9da6bd98a6d6ef31e0.zip
Code formatting fix [skip ci]
-rw-r--r--src/grids.cpp3
-rw-r--r--src/iso19111/datum.cpp4
-rw-r--r--test/unit/test_factory.cpp7
3 files changed, 7 insertions, 7 deletions
diff --git a/src/grids.cpp b/src/grids.cpp
index 58183e9e..9dc1723e 100644
--- a/src/grids.cpp
+++ b/src/grids.cpp
@@ -98,7 +98,8 @@ bool ExtentAndRes::intersects(const ExtentAndRes &other) const {
Grid::Grid(const std::string &nameIn, int widthIn, int heightIn,
const ExtentAndRes &extentIn)
- : m_name(nameIn), m_width(widthIn), m_height(heightIn), m_extent(extentIn) {}
+ : m_name(nameIn), m_width(widthIn), m_height(heightIn), m_extent(extentIn) {
+}
// ---------------------------------------------------------------------------
diff --git a/src/iso19111/datum.cpp b/src/iso19111/datum.cpp
index 8017dd39..76e2011a 100644
--- a/src/iso19111/datum.cpp
+++ b/src/iso19111/datum.cpp
@@ -1381,8 +1381,8 @@ bool GeodeticReferenceFrame::hasEquivalentNameToUsingAlias(
"geodetic_datum", std::string());
const char *otherName = other->nameStr().c_str();
for (const auto &aliasResult : aliasesResult) {
- if (metadata::Identifier::isEquivalentName(otherName,
- aliasResult.c_str())) {
+ if (metadata::Identifier::isEquivalentName(
+ otherName, aliasResult.c_str())) {
return true;
}
}
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 15e91f22..6a33c966 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -2763,10 +2763,9 @@ TEST(factory, createObjectsFromName) {
{
auto res = factoryEPSG->createObjectsFromName(
"WGS84", {AuthorityFactory::ObjectType::GEOGRAPHIC_2D_CRS}, true);
- EXPECT_EQ(res.size(),
- 8U); // EPSG:4326 and the 6 WGS84 realizations
- // and EPSG:7881 'Tritan St. Helena'' whose alias is
- // 'WGS 84 Tritan St. Helena'
+ EXPECT_EQ(res.size(), 8U); // EPSG:4326 and the 6 WGS84 realizations
+ // and EPSG:7881 'Tritan St. Helena'' whose alias is
+ // 'WGS 84 Tritan St. Helena'
if (!res.empty()) {
EXPECT_EQ(res.front()->getEPSGCode(), 4326);
}