Permalink
Browse files

Broken ?metrics macro fix;

  • Loading branch information...
1 parent 6ffe62b commit f9fcb8145be74527b8af735db1493663fab1bd87 Tomas Morstein committed Aug 3, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 include/egtm.hrl
View
@@ -71,7 +71,8 @@
lager:info (Info, Args)).
-ifdef (EGTM_METRICS).
--define (metrics (Name, Fun), .?metrics (Name, Fun)).
+-define (metrics (Name, Fun),
+ egtm_metrics:submit (Name, Fun)).
-else.
-define (metrics (Name, Fun), Fun ()).
-endif.

0 comments on commit f9fcb81

Please sign in to comment.