From 9353d803fc2b10cd9907049f614bf2ad76c9516c Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 17 May 2001 14:46:32 +0000 Subject: [PATCH] Make function inline. git-svn-id: https://svn.dealii.org/trunk@4655 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/include/base/memory_consumption.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/base/include/base/memory_consumption.h b/deal.II/base/include/base/memory_consumption.h index 6dfcf17f1d..9d6a7cbdb2 100644 --- a/deal.II/base/include/base/memory_consumption.h +++ b/deal.II/base/include/base/memory_consumption.h @@ -428,7 +428,8 @@ namespace MemoryConsumption }; - + + inline unsigned int memory_consumption (const std::string &s) { return sizeof(s) + s.length(); -- 2.39.5