Skip to content
Snippets Groups Projects
Commit a6d3f65d authored by René Fritze's avatar René Fritze
Browse files

[misc] constness++

parent 3adc7ded
No related branches found
No related tags found
No related merge requests found
......@@ -326,11 +326,12 @@ public:
ThisType& operator=(ThisType&& other) = delete;
virtual std::unique_ptr<LocalfunctionType> local_function(const EntityType& entity) const /*DS_OVERRIDE DS_FINAL*/
virtual std::unique_ptr<LocalfunctionType> local_function(const EntityType& entity) const DS_OVERRIDE DS_FINAL
{
typedef CombinedLocalFunction<LeftType, RightType, comb> RealLocalFunctionType;
return std::unique_ptr<RealLocalFunctionType>(
new RealLocalFunctionType(left_->storage_access(), right_->storage_access(), entity));
assert(left_);
assert(right_);
return DSC::make_unique<RealLocalFunctionType>(left_->storage_access(), right_->storage_access(), entity);
} // ... local_function(...)
virtual ThisType* copy() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment