Skip to content

Commit

Permalink
ASITiger: remove unused string streams from AxisPolarity properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed Jan 10, 2025
1 parent db8a759 commit 1e256b9
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion DeviceAdapters/ASITiger/ASILens.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,6 @@ int CLens::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct)

int CLens::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand Down
1 change: 0 additions & 1 deletion DeviceAdapters/ASITiger/ASIPiezo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,6 @@ int CPiezo::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct)

int CPiezo::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand Down
4 changes: 0 additions & 4 deletions DeviceAdapters/ASITiger/ASIScanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2748,8 +2748,6 @@ int CScanner::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct)

int CScanner::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
ostringstream response; response.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand All @@ -2768,8 +2766,6 @@ int CScanner::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct)

int CScanner::OnAxisPolarityY(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
ostringstream response; response.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand Down
4 changes: 0 additions & 4 deletions DeviceAdapters/ASITiger/ASIXYStage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1751,8 +1751,6 @@ int CXYStage::OnNrExtraMoveReps(MM::PropertyBase* pProp, MM::ActionType eAct)

int CXYStage::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
ostringstream response; response.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand All @@ -1771,8 +1769,6 @@ int CXYStage::OnAxisPolarityX(MM::PropertyBase* pProp, MM::ActionType eAct)

int CXYStage::OnAxisPolarityY(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
ostringstream response; response.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand Down
2 changes: 0 additions & 2 deletions DeviceAdapters/ASITiger/ASIZStage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1526,8 +1526,6 @@ int CZStage::OnWheelMirror(MM::PropertyBase* pProp, MM::ActionType eAct)

int CZStage::OnAxisPolarity(MM::PropertyBase* pProp, MM::ActionType eAct)
{
ostringstream command; command.str("");
ostringstream response; response.str("");
if (eAct == MM::BeforeGet)
{
// do nothing
Expand Down

0 comments on commit 1e256b9

Please sign in to comment.