aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/Component.cpp')
-rw-r--r--src/crepe/Component.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/crepe/Component.cpp b/src/crepe/Component.cpp
index 1aed507..ae76e65 100644
--- a/src/crepe/Component.cpp
+++ b/src/crepe/Component.cpp
@@ -14,7 +14,4 @@ unique_ptr<Component> Component::save() const {
return unique_ptr<Component>(new Component(*this));
}
-void Component::restore(const Component & snapshot) {
- *this = snapshot;
-}
-
+void Component::restore(const Component & snapshot) { *this = snapshot; }