~brianaker/libmemcached/update-m4-sept

« back to all changes in this revision

Viewing changes to libtest/memcached.hpp

  • Committer: Continuous Integration
  • Date: 2013-04-20 09:58:06 UTC
  • mfrom: (1101.1.2 libmemcached-1.2)
  • Revision ID: ci@tangent.org-20130420095806-9pu8y0783t6ku2zw
Merge lp:~brianaker/libmemcached/merge-1.0-april-2013 Build: jenkins-Libmemcached-270

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#if defined(HAVE_LIBMEMCACHED) && HAVE_LIBMEMCACHED
40
40
inline bool operator== (const memcached_st& memc, const memcached_return_t rc)
41
41
{
42
 
  if (memcached_last_error(&memc) == rc)
 
42
  if (memcached_last_error(const_cast<memcached_st *>(&memc)) == rc)
43
43
  {
44
44
    return true;
45
45
  }