Skip to content

Commit 1edadb8

Browse files
committed
Test making old_dof_object protected
This will let the compiler find all the places where we should use the new accessors
1 parent 8e3bb0a commit 1edadb8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/base/dof_object.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ class DofObject : public ReferenceCountedObject<DofObject>
7878
* This object on the last mesh. Useful for projecting
7979
* solutions from one mesh to another.
8080
*/
81+
protected:
8182
std::unique_ptr<DofObject> old_dof_object;
8283

84+
public:
8385
/**
8486
* Pointer accessor for previously public old_dof_object. If you
8587
* want to assert that the old_dof_object pointer is valid as well,

0 commit comments

Comments
 (0)