Skip to content
Snippets Groups Projects
Commit 72bb7136 authored by Oliver Sander's avatar Oliver Sander
Browse files

some constification

[[Imported from SVN: r1343]]
parent 22ea737a
Branches
Tags
No related merge requests found
......@@ -42,7 +42,7 @@ namespace Dune {
typedef FunctionSpaceType FunctionSpace;
//! ???
Function ( FunctionSpaceType & f ) : functionSpace_ (f) {} ;
Function (const FunctionSpaceType & f ) : functionSpace_ (f) {} ;
//! evaluate Function
void eval ( const Domain & , Range &) const ;
......@@ -55,12 +55,12 @@ namespace Dune {
const Domain & , Range &) const {};
//! ???
FunctionSpaceType &getFunctionSpace() const { return functionSpace_; }
const FunctionSpaceType &getFunctionSpace() const { return functionSpace_; }
protected:
//! ???
FunctionSpaceType & functionSpace_;
const FunctionSpaceType & functionSpace_;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment