danieljoos / libkafka-asio

C++ Kafka Client Library using Boost Asio
MIT License
76 stars 40 forks source link

Fix C++03 compatibility #24

Closed 4picht closed 6 years ago

4picht commented 6 years ago

Two little patches are needed to make the library work with a non-C++11 compiler. With these patches applied, I got the library to compile even on an ancient RHEL4 system.

$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
Copyright (C) 2006 Free Software Foundation, Inc.

Thanks for this simple-to-use library!