Unverified Commit b4f5350d authored by Ralf W. Grosse-Kunstleve's avatar Ralf W. Grosse-Kunstleve Committed by GitHub
Browse files

chore: use member initializer (#3704)


Co-authored-by: default avatarAaron Gokaslan <skylion.aaron@gmail.com>
parent ddbc74c6
......@@ -62,10 +62,7 @@ private:
public:
/// A new patient frame is created when a function is entered
loader_life_support() {
parent = get_stack_top();
set_stack_top(this);
}
loader_life_support() : parent{get_stack_top()} { set_stack_top(this); }
/// ... and destroyed after it returns
~loader_life_support() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment