Skip to content

Commit

Permalink
Changed config storage to use value objects rather than const referen…
Browse files Browse the repository at this point in the history
…ces in the *Info classes
  • Loading branch information
ryan1248 committed Apr 3, 2016
1 parent 11f1bce commit 47303f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tgcreator/tgBoxInfo.h
Expand Up @@ -228,7 +228,7 @@ class tgBoxInfo : public tgRigidInfo {
const tgPair m_pair;

/** Radius and density values. */
const tgBox::Config& m_config;
const tgBox::Config m_config;

};

Expand Down
2 changes: 1 addition & 1 deletion src/tgcreator/tgRodInfo.h
Expand Up @@ -228,7 +228,7 @@ class tgRodInfo : public tgRigidInfo {
const tgPair m_pair;

/** Radius and density values. */
const tgRod::Config& m_config;
const tgRod::Config m_config;

};

Expand Down
2 changes: 1 addition & 1 deletion src/tgcreator/tgSphereInfo.h
Expand Up @@ -219,7 +219,7 @@ class tgSphereInfo : public tgRigidInfo {
const tgNode m_node;

/** Radius and density values. */
const tgSphere::Config& m_config;
const tgSphere::Config m_config;

};

Expand Down

0 comments on commit 47303f7

Please sign in to comment.