summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkarsh Simha <akarsh@kde.org>2016-08-16 08:28:04 (GMT)
committerAkarsh Simha <akarsh@kde.org>2016-08-16 08:28:04 (GMT)
commit613284dd21a623d2cd2fb58677711d81bf2fbcaa (patch)
treeb27c8ee923436329cbb3c41423030ee1d0856933
parent0b725a0ec6fee51a37cce9d7e2e08aef76103605 (diff)
Use inline for inline methods in CatalogComponent
-rw-r--r--kstars/skycomponents/catalogcomponent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/skycomponents/catalogcomponent.h b/kstars/skycomponents/catalogcomponent.h
index dd1ea92..3d45dc4 100644
--- a/kstars/skycomponents/catalogcomponent.h
+++ b/kstars/skycomponents/catalogcomponent.h
@@ -60,13 +60,13 @@ public:
virtual void update( KSNumbers *num );
/** @return the name of the catalog */
- QString name() const { return m_catName; }
+ inline QString name() const { return m_catName; }
/** @return the frequency of the flux readings in the catalog, if any */
- QString fluxFrequency() const { return m_catFluxFreq; }
+ inline QString fluxFrequency() const { return m_catFluxFreq; }
/** @return the unit of the flux measurements in the catalog, if any */
- QString fluxUnit() const { return m_catFluxUnit; }
+ inline QString fluxUnit() const { return m_catFluxUnit; }
/**
*@return true if visibility Option is set for this catalog