Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
Got rid of vatmpl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Till Varoquaux committed Nov 21, 2013
1 parent 08847ac commit 8075b7a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 183 deletions.
2 changes: 1 addition & 1 deletion async/Makefile.am
Expand Up @@ -26,7 +26,7 @@ aiod.h aiod_prot.h aios.h amisc.h arena.h array.h async.h backoff.h \
bbuddy.h bitvec.h callback.h cbuf.h dns.h dnsimpl.h dnsparse.h err.h \
fdlim.h ihash.h init.h itree.h keyfunc.h list.h msb.h opnew.h \
parseopt.h qhash.h refcnt.h rxx.h serial.h stllike.h str.h \
suio++.h sysconf.h union.h vatmpl.h vec.h rwfd.h litetime.h \
suio++.h sysconf.h union.h vec.h rwfd.h litetime.h \
corebench.h qtailq.h sfs_select.h rclist.h dynenum.h \
rctailq.h rctree.h sfs_bundle.h alog2.h sfs_profiler.h wide_str.h \
sfs_const.h weak_template.h
Expand Down
8 changes: 0 additions & 8 deletions async/refcnt.h
Expand Up @@ -139,11 +139,7 @@ void refcnt_warn (const char *op, const type_info &type, void *addr, int cnt);
#endif /* VERBOSE_REFCNT */

#include "opnew.h"
#ifdef __GXX_EXPERIMENTAL_CXX0X__
#include <utility>
#else
#include "vatmpl.h"
#endif

class __globaldestruction_t {
static bool started;
Expand Down Expand Up @@ -331,13 +327,9 @@ class refcounted<T, scalar>
~refcounted () {}

public:
#ifdef __GXX_EXPERIMENTAL_CXX0X__
template <typename... Params>
explicit refcounted (Params&&... args) :
type2struct<T>::type(std::forward<Params> (args)...) {}
#else
VA_TEMPLATE (explicit refcounted, : type2struct<T>::type, {})
#endif
};

template<class T>
Expand Down
174 changes: 0 additions & 174 deletions async/vatmpl.h

This file was deleted.

0 comments on commit 8075b7a

Please sign in to comment.