Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

Commit 35c8c4b

Browse files
committed
Fix function name in exception in check_associated
1 parent 3383702 commit 35c8c4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cppapi/server/multiattribute.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ void MultiAttribute::check_associated(long index, std::string &dev_name)
581581
Except::throw_exception(
582582
API_AttrOptProp,
583583
o.str().c_str(),
584-
"MultiAttribute::MultiAttribute");
584+
"MultiAttribute::check_associated");
585585
}
586586

587587
Attribute& assoc_attribute = *attr_list[assoc_index];
@@ -597,7 +597,7 @@ void MultiAttribute::check_associated(long index, std::string &dev_name)
597597
Except::throw_exception(
598598
API_AttrOptProp,
599599
o.str().c_str(),
600-
"MultiAttribute::MultiAttribute");
600+
"MultiAttribute::check_associated");
601601
}
602602

603603
if (attribute.get_data_type() != assoc_attribute.get_data_type())
@@ -610,7 +610,7 @@ void MultiAttribute::check_associated(long index, std::string &dev_name)
610610
Except::throw_exception(
611611
API_AttrOptProp,
612612
o.str().c_str(),
613-
"MultiAttribute::MultiAttribute");
613+
"MultiAttribute::check_associated");
614614
}
615615

616616
attribute.set_assoc_ind(assoc_index);

0 commit comments

Comments
 (0)