Skip to content

Commit

Permalink
Merge pull request #81 from vil02/remove_const_form_template_args
Browse files Browse the repository at this point in the history
style: remove `const` from template arguments
  • Loading branch information
mertcandav authored Feb 3, 2024
2 parents 581289e + 2a3d441 commit 37d05a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ namespace jule
{

// Built-in array type.
template <typename Item, const jule::Int N>
template <typename Item, jule::Int N>
struct Array;

template <typename Item, const jule::Int N>
template <typename Item, jule::Int N>
struct Array
{
public:
Expand Down
2 changes: 1 addition & 1 deletion api/derive/clone.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace jule
return s_clone;
}

template <typename Item, const jule::Uint N>
template <typename Item, jule::Uint N>
jule::Array<Item, N> clone(const jule::Array<Item, N> &arr)
{
jule::Array<Item, N> arr_clone;
Expand Down

0 comments on commit 37d05a5

Please sign in to comment.