aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-04-20 20:53:39 +0200
committerGitHub <noreply@github.com>2021-04-20 20:53:39 +0200
commit81899cee1197e7bbd4558e9c7208eff8293789b5 (patch)
tree1d228c795e814f21cc54e16de41cd66d727d0c28 /src
parent8d0c7cef4b5e9687382519400380847587edc6cb (diff)
parent11b422cbc7c58072f920a29535e172f9eabe0e8b (diff)
downloadPROJ-81899cee1197e7bbd4558e9c7208eff8293789b5.tar.gz
PROJ-81899cee1197e7bbd4558e9c7208eff8293789b5.zip
Merge pull request #2680 from jjimenezshaw/run-clang-format
run reformat_cpp.sh to fix some leftovers
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/c_api.cpp11
-rw-r--r--src/iso19111/factory.cpp3
2 files changed, 5 insertions, 9 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp
index cb44151a..ce7f2ae2 100644
--- a/src/iso19111/c_api.cpp
+++ b/src/iso19111/c_api.cpp
@@ -2676,8 +2676,9 @@ PROJ_STRING_LIST proj_get_codes_from_database(PJ_CONTEXT *ctx,
/** \brief Enumerate celestial bodies from the database.
*
- * The returned object is an array of PROJ_CELESTIAL_BODY_INFO* pointers, whose last
- * entry is NULL. This array should be freed with proj_celestial_body_list_destroy()
+ * The returned object is an array of PROJ_CELESTIAL_BODY_INFO* pointers, whose
+ * last entry is NULL. This array should be freed with
+ * proj_celestial_body_list_destroy()
*
* @param ctx PROJ context, or NULL for default context
* @param auth_name Authority name, used to restrict the search.
@@ -2688,9 +2689,8 @@ PROJ_STRING_LIST proj_get_codes_from_database(PJ_CONTEXT *ctx,
* proj_celestial_body_list_destroy(), or NULL in case of error.
* @since 8.1
*/
-PROJ_CELESTIAL_BODY_INFO **proj_get_celestial_body_list_from_database(PJ_CONTEXT *ctx,
- const char *auth_name,
- int *out_result_count) {
+PROJ_CELESTIAL_BODY_INFO **proj_get_celestial_body_list_from_database(
+ PJ_CONTEXT *ctx, const char *auth_name, int *out_result_count) {
SANITIZE_CTX(ctx);
PROJ_CELESTIAL_BODY_INFO **ret = nullptr;
int i = 0;
@@ -2741,7 +2741,6 @@ void proj_celestial_body_list_destroy(PROJ_CELESTIAL_BODY_INFO **list) {
}
}
-
// ---------------------------------------------------------------------------
/** Free a list of NULL terminated strings. */
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp
index 8f2bd24a..5a81506b 100644
--- a/src/iso19111/factory.cpp
+++ b/src/iso19111/factory.cpp
@@ -7478,14 +7478,12 @@ AuthorityFactory::UnitInfo::UnitInfo()
deprecated{} {}
//! @endcond
-
// ---------------------------------------------------------------------------
//! @cond Doxygen_Suppress
AuthorityFactory::CelestialBodyInfo::CelestialBodyInfo() : authName{}, name{} {}
//! @endcond
-
// ---------------------------------------------------------------------------
/** \brief Return the list of units.
@@ -7564,7 +7562,6 @@ AuthorityFactory::getCelestialBodyList() const {
return res;
}
-
// ---------------------------------------------------------------------------
/** \brief Gets the official name from a possibly alias name.