]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add missing const.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 09:32:52 +0000 (09:32 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 16 Mar 2004 09:32:52 +0000 (09:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@8763 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/dof_tools_11.cc

index a7dc10ce284c49132a9faf216be7ba984bb1699e..ae2f21d364121667ff4b80bfc2e25e7297113593 100644 (file)
@@ -26,7 +26,7 @@ std::string output_file_name = "dof_tools_11.output";
 struct Comp
 {
     template <int dim>
-    bool operator() (const Point<dim> p, const Point<dim> q)
+    bool operator() (const Point<dim> p, const Point<dim> q) const
       {
         for (unsigned int d=0; d<dim; ++d)
           if (p(d) < q(d))

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.