From 696d3259aa26d3ec4d812b12e0dd6ac73974d72c Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Mon, 20 Mar 2023 16:20:32 +0800 Subject: [PATCH] renamed to ChangeOrAdd from Update at Map template. --- src/SceneGraph/font/FontSourceMulti.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SceneGraph/font/FontSourceMulti.cpp b/src/SceneGraph/font/FontSourceMulti.cpp index befda075..5b008300 100644 --- a/src/SceneGraph/font/FontSourceMulti.cpp +++ b/src/SceneGraph/font/FontSourceMulti.cpp @@ -29,7 +29,7 @@ namespace hgl get_max(max_char_height,fs->GetCharHeight()); - source_map.Update(ub,fs); + source_map.ChangeOrAdd(ub,fs); } void FontSourceMulti::RefreshMaxCharHeight()