chore: use member initializer (#3704)

Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com>
This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-02-08 19:08:31 -08:00 committed by GitHub
parent ddbc74c674
commit b4f5350d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {