]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Fix use of auto prototype, it is a non std extension 26726/head
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 1 Mar 2019 20:36:26 +0000 (21:36 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 1 Mar 2019 20:36:26 +0000 (21:36 +0100)
commitf94d5af52cd8db76d3011379e27176466ca10394
tree9f8ad00372c7b51e75929950bd8deed442df76f0
parent4ab84327d973afa59b75a2006ec001c8e5fb8046
mds: Fix use of auto prototype, it is a non std extension

Clang complains:
In file included from /home/jenkins/workspace/ceph-master/src/msg/Message.cc:128:
In file included from /home/jenkins/workspace/ceph-master/src/messages/MFSMap.h:20:
/home/jenkins/workspace/ceph-master/src/mds/FSMap.h:330:49: error: 'auto' not allowed in function prototype
  void modify_filesystem(fs_cluster_id_t fscid, auto&& fn)
                                                ^~~~
/home/jenkins/workspace/ceph-master/src/mds/FSMap.h:341:37: error: 'auto' not allowed in function prototype
  void modify_daemon(mds_gid_t who, auto&& fn)
                                    ^~~~

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/mds/FSMap.h