Skip to content
Snippets Groups Projects
Commit 9618b941 authored by Nate Weibley's avatar Nate Weibley Committed by Lorenz Meier
Browse files

Inline block param getter

parent f5ffdba4
No related branches found
No related tags found
No related merge requests found
......@@ -93,9 +93,6 @@ BlockParam<T>::BlockParam(Block *block, const char *name,
update();
}
template <class T>
T BlockParam<T>::get() { return _val; }
template <class T>
void BlockParam<T>::set(T val)
{
......
......@@ -82,7 +82,7 @@ public:
BlockParam(const BlockParam &) = delete;
BlockParam &operator=(const BlockParam &) = delete;
T get();
inline T get() const { return _val; }
void commit();
void set(T val);
void update() override;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment