From 47dfc4fd3287d50981c565782bc529b6fb4c7992 Mon Sep 17 00:00:00 2001 From: Adrien Cassagne Date: Wed, 15 Nov 2023 15:18:41 +0100 Subject: [PATCH] Fix wrong const T detection in sck. --- include/Runtime/Socket/Socket.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Runtime/Socket/Socket.hxx b/include/Runtime/Socket/Socket.hxx index 660f974..d1468b4 100644 --- a/include/Runtime/Socket/Socket.hxx +++ b/include/Runtime/Socket/Socket.hxx @@ -131,7 +131,7 @@ void** Socket assert(start_col < n_cols); this->rowsptr -= this->start_row; - uint8_t* dptr = this->template get_dataptr() + start_col; + uint8_t* dptr = (uint8_t*)get_dataptr() + start_col; for (size_t r = 0; r < this->get_n_rows(); r++) { this->rowsptr[r] = (void*)dptr;