summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-17 12:40:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-17 12:41:45 +0200
commit679f424c250a38473c82bf1f997b75fbea4d3758 (patch)
tree06fee960550a851387fb9a26d85d44e5fc56649b /facetracknoir/facetracknoir.h
parent4fdc2d9b3733f2b8d3edd4e10fdba0b7a525ae22 (diff)
nix explicit malloc
simplifies, allows for copy operator
Diffstat (limited to 'facetracknoir/facetracknoir.h')
-rw-r--r--facetracknoir/facetracknoir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.h b/facetracknoir/facetracknoir.h
index 1da2d6b8..dc37ad37 100644
--- a/facetracknoir/facetracknoir.h
+++ b/facetracknoir/facetracknoir.h
@@ -86,7 +86,7 @@ public:
return dlopen_filters.value(ui.iconcomboFilter->currentIndex(), (DynamicLibrary*) NULL);
}
THeadPoseDOF& axis(int idx) {
- return *pose.axes[idx];
+ return pose.axes[idx];
}
#if defined(_WIN32)