Skip to content

Commit 87018c2

Browse files
committed
Fixed bug with incorrect comparison within SetArgs function for issue #24.
1 parent 2d101a4 commit 87018c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TestClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class TestClass
161161

162162
void SetArgs(TestString const& args)
163163
{
164-
if (args == "NA")
164+
if (args != "NA")
165165
m_args = args;
166166
else
167167
m_args.Clear();

0 commit comments

Comments
 (0)