Skip to content

Commit 9a898ab

Browse files
committed
Remove spaces in empty lines
1 parent d2e2bcc commit 9a898ab

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

include/osmium/builder/osm_object_builder.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -382,38 +382,38 @@ namespace osmium {
382382

383383
void add_comment(osmium::Timestamp date, osmium::user_id_type uid, const char* user) {
384384
assert(!has_open_comment() && "You have to always call both add_comment() and then add_comment_text() in that order for each comment!");
385-
385+
386386
// Store offset instead of pointer to handle buffer reallocation
387387
m_comment_offset = buffer().written() - buffer().committed();
388-
388+
389389
auto* comment = reserve_space_for<osmium::ChangesetComment>();
390390
new (comment) osmium::ChangesetComment{date, uid};
391391
add_size(sizeof(ChangesetComment));
392-
392+
393393
add_user(*comment, user, std::strlen(user));
394394
}
395395

396396
void add_comment_text(const char* text) {
397397
assert(has_open_comment() && "You have to always call both add_comment() and then add_comment_text() in that order for each comment!");
398-
398+
399399
// Get fresh pointer each time to handle buffer reallocation
400400
auto* comment = get_comment_ptr();
401-
401+
402402
// Invalidate offset to ensure right adding order
403403
m_comment_offset = std::numeric_limits<std::size_t>::max();
404-
404+
405405
add_text(*comment, text, std::strlen(text));
406406
}
407407

408408
void add_comment_text(const std::string& text) {
409409
assert(has_open_comment() && "You have to always call both add_comment() and then add_comment_text() in that order for each comment!");
410-
410+
411411
// Get fresh pointer each time to handle buffer reallocation
412412
auto* comment = get_comment_ptr();
413-
413+
414414
// Invalidate offset to ensure right adding order
415415
m_comment_offset = std::numeric_limits<std::size_t>::max();
416-
416+
417417
add_text(*comment, text.c_str(), text.size());
418418
}
419419
}; // class ChangesetDiscussionBuilder

0 commit comments

Comments
 (0)