]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make function inline.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 14:46:32 +0000 (14:46 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 17 May 2001 14:46:32 +0000 (14:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@4655 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/memory_consumption.h

index 6dfcf17f1d3e16025087473ee85fe1e6f0a23fa1..9d6a7cbdb2f08e59532c31bb1f7ffb826cdffa6c 100644 (file)
@@ -428,7 +428,8 @@ namespace MemoryConsumption
   };
 
 
-
+  
+  inline
   unsigned int memory_consumption (const std::string &s)
   {
     return sizeof(s) + s.length();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.