Skip to content

Commit

Permalink
Removed uses of std, not qualified as ::std, which have snuck in
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalroz committed May 5, 2024
1 parent e0bac19 commit 9da97b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cuda/api/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2292,7 +2292,7 @@ namespace mapped {
template <typename T>
inline T* device_side_pointer_for(T* host_memory_ptr)
{
auto unconsted_host_mem_ptr = const_cast<typename std::remove_const<T>::type *>(host_memory_ptr);
auto unconsted_host_mem_ptr = const_cast<typename ::std::remove_const<T>::type *>(host_memory_ptr);
device::address_t device_side_ptr;
auto get_device_pointer_flags = 0u; // see the CUDA runtime documentation
auto status = cuMemHostGetDevicePointer(
Expand Down
2 changes: 1 addition & 1 deletion src/cuda/rtc/program.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ class program_t<ptx> : public program::detail_::base_t<ptx> {
}

public: // constructors and destructor
program_t(::std::string name) : parent(std::move(name)) {}
program_t(::std::string name) : parent(::std::move(name)) {}
program_t(const program_t&) = default;
program_t(program_t&&) = default;
~program_t() = default;
Expand Down

0 comments on commit 9da97b8

Please sign in to comment.