Skip to content

Commit

Permalink
Ease C++ reqs (3)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Mar 18, 2023
1 parent 30d89c9 commit c7bfd03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sexp-input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ std::shared_ptr<sexp_object_t> sexp_input_stream_t::scan_to_eof(void)
get_char();
}
s->set_string(ss);
_return_unique_ptr_(s);
return p;
}

/*
Expand Down Expand Up @@ -469,7 +469,7 @@ std::shared_ptr<sexp_string_t> sexp_input_stream_t::scan_string(void)
{
std::shared_ptr<sexp_string_t> s(new sexp_string_t());
s->parse(this);
_return_unique_ptr_(s);
return s;
}

/*
Expand All @@ -480,7 +480,7 @@ std::shared_ptr<sexp_list_t> sexp_input_stream_t::scan_list(void)
{
std::shared_ptr<sexp_list_t> list(new sexp_list_t());
list->parse(this);
_return_unique_ptr_(list);
return list;
}

/*
Expand All @@ -501,7 +501,7 @@ std::shared_ptr<sexp_object_t> sexp_input_stream_t::scan_object(void)
else
object = scan_string();
}
_return_unique_ptr_(object);
return object;
}

} // namespace sexp

0 comments on commit c7bfd03

Please sign in to comment.