Skip to content

Commit

Permalink
api: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jan 26, 2025
1 parent d0fcb5b commit ff8b05a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions api/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ namespace jule

Array(void) = default;

Array(const std::initializer_list<Item> &src)
{
std::copy(src.begin(), src.end(), this->begin());
}

Array(const Item &def)
{
std::fill(this->begin(), this->end(), def);
Expand Down
2 changes: 1 addition & 1 deletion api/str.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace jule
reinterpret_cast<const jule::U8 *>(src.c_str() + src.size())) {}

Str(const char *src) : Str(reinterpret_cast<const jule::U8 *>(src),
reinterpret_cast<const jule::U8 *>(src) + std::strlen(reinterpret_cast<const char *>(src))) {}
reinterpret_cast<const jule::U8 *>(src) + std::strlen(src)) {}

Str(const jule::U8 *begin, const jule::U8 *end)
{
Expand Down

0 comments on commit ff8b05a

Please sign in to comment.