Skip to content

Commit

Permalink
Merge pull request #25 from burlog/master
Browse files Browse the repository at this point in the history
atomic_update only for c++11
  • Loading branch information
burlog committed Mar 11, 2016
2 parents 1fb0622 + de505fb commit 0a9bd74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/mcache/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ template <
}
}

#if __cplusplus >= 201103L
/** Apply functor to variable in memcache
* @param key key for data
* @param callback transformation functor
Expand Down Expand Up @@ -344,6 +345,7 @@ template <
}
throw error_t(err::unable_cas, "max iterations reached");
}
#endif /* __cplusplus */

/** Call 'get' command on appropriate memcache server.
* @param key key for data.
Expand Down

0 comments on commit 0a9bd74

Please sign in to comment.