Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "style: use pointer to const" #99

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace jule
// Creates new reference from allocation and reference counting
// allocation. Reference does not counted if reference count
// allocation is null.
static jule::Ptr<T> make(T *ptr, const jule::Uint *ref) noexcept
static jule::Ptr<T> make(T *ptr, jule::Uint *ref) noexcept
{
jule::Ptr<T> buffer;
buffer.alloc = ptr;
Expand Down Expand Up @@ -71,7 +71,7 @@ namespace jule
return buffer;
}

static jule::Ptr<T> make(const T &instance, const jule::Uint *ref) noexcept
static jule::Ptr<T> make(const T &instance, jule::Uint *ref) noexcept
{
jule::Ptr<T> buffer;

Expand Down
Loading