MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit 0a884057 authored by berenger-bramas's avatar berenger-bramas
Browse files

Use a define instead of standart numeric function to know the max of size_t

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@192 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 6c6e7531
......@@ -5,10 +5,10 @@
// To get memcpy
#include <cstring>
#include <limits>
#include <climits>
namespace FMemUtils {
static const FSize MaxSize_t = std::numeric_limits<std::size_t>::max();
static const FSize MaxSize_t = UINT_MAX; //std::numeric_limits<std::size_t>::max();
static void* memcpy(void* const dest, const void* const source, const FSize nbBytes){
if( nbBytes < MaxSize_t){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment