Browse Source

[master] fixed a build regression on g++(3.x)/Solaris. The original code
doesn't seem to work in a templated test for this compiler.
okayed on jabber.

JINMEI Tatuya 13 years ago
parent
commit
f5d7359a94
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/tests/rdata_ds_like_unittest.cc

+ 1 - 1
src/lib/dns/tests/rdata_ds_like_unittest.cc

@@ -164,7 +164,7 @@ TYPED_TEST(Rdata_DS_LIKE_Test, compare) {
     EXPECT_GT(TypeParam(ds_like_txt6).compare(TypeParam(ds_like_txt1)), 0);
 
     // comparison attempt between incompatible RR types should be rejected
-    EXPECT_THROW(this->rdata_ds_like.compare(*RdataTest::rdata_nomatch),
+    EXPECT_THROW(this->rdata_ds_like.compare(*this->rdata_nomatch),
                  bad_cast);
 }