This is an automated email from the ASF dual-hosted git repository.

thiru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new cef06d9  Update DataFileTests.cc
     new a780991  Merge pull request #440 from plopp/patch-1
cef06d9 is described below

commit cef06d90fd2e4156f83498f6a77b325115491a49
Author: Marcus Kempe <[email protected]>
AuthorDate: Tue Feb 5 09:44:54 2019 +0100

    Update DataFileTests.cc
    
    Misplaced #endif causing build errors.
---
 lang/c++/test/DataFileTests.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/c++/test/DataFileTests.cc b/lang/c++/test/DataFileTests.cc
index abec6ec..19bf6ca 100644
--- a/lang/c++/test/DataFileTests.cc
+++ b/lang/c++/test/DataFileTests.cc
@@ -195,8 +195,8 @@ public:
 #ifdef SNAPPY_CODEC_AVAILABLE
     void testWriteWithSnappyCodec() {
         testWriteWithCodec(avro::SNAPPY_CODEC);
-#endif
     }
+#endif
 
     void testWriteWithCodec(avro::Codec codec) {
         avro::DataFileWriter<ComplexInteger> df(filename, writerSchema, 100);

Reply via email to