From: Wolfgang Bangerth Date: Thu, 17 May 2001 14:46:32 +0000 (+0000) Subject: Make function inline. X-Git-Tag: v8.0.0~19139 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de3f583c975bc0970d8dcf342c4571dffe42e7fa;p=dealii.git Make function inline. git-svn-id: https://svn.dealii.org/trunk@4655 0785d39b-7218-0410-832d-ea1e28bc413d --- 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();