Skip to content

Commit e98f488

Browse files
committed
remove unused function
the basestate overload for dataptr was using this->dptr, but that does not seem to exist. Not sure how this ever worked.
1 parent df6b52f commit e98f488

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

Source/BaseState.H

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,6 @@ class BaseState {
238238

239239
T* dataPtr() noexcept { return base_data.dataPtr(); };
240240

241-
AMREX_GPU_HOST_DEVICE [[nodiscard]] AMREX_FORCE_INLINE T* dataPtr() const noexcept {
242-
return this->dptr;
243-
}
244-
245241
/// scalar addition to the whole base state
246242
template <class U>
247243
friend BaseState<U> operator+(const U val, const BaseState<U>& p);

0 commit comments

Comments
 (0)