Skip to content

Commit

Permalink
Remove the SpatialPerception ownership from SensorFrameRecorder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawel Olszta (MSFT) committed Dec 19, 2017
1 parent 7b582e5 commit 7f93a02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions Shared/HoloLensForCV/SensorFrameRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

namespace HoloLensForCV
{
SensorFrameRecorder::SensorFrameRecorder(
_In_ SpatialPerception^ spatialPerception)
: _spatialPerception(spatialPerception)
SensorFrameRecorder::SensorFrameRecorder()
{
}

Expand Down
5 changes: 1 addition & 4 deletions Shared/HoloLensForCV/SensorFrameRecorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ namespace HoloLensForCV
: public ISensorFrameSinkGroup
{
public:
SensorFrameRecorder(
_In_ SpatialPerception^ spatialPerception);
SensorFrameRecorder();

static property uint8_t RecordingVersionMajor
{
Expand Down Expand Up @@ -62,8 +61,6 @@ namespace HoloLensForCV
_Inout_ std::vector<std::wstring>& sourceFiles);

private:
SpatialPerception^ _spatialPerception;

std::mutex _recorderMutex;

Windows::Storage::StorageFolder^ _archiveSourceFolder;
Expand Down

0 comments on commit 7f93a02

Please sign in to comment.