Skip to content

Commit

Permalink
atomic_update only for c++11
Browse files Browse the repository at this point in the history
  • Loading branch information
burlog committed Mar 11, 2016
1 parent 154a7a7 commit de505fb
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 @@ -343,6 +344,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 de505fb

Please sign in to comment.