• R/O
  • HTTP
  • SSH
  • HTTPS

system-metrics: Commit


Commit MetaInfo

Revisão8bade3689a0716129835dfce94c329b01b64f67c (tree)
Hora2020-05-24 07:00:16
AutorTomasz Konojacki <me@xenu...>
CommiterTomasz Konojacki

Mensagem de Log

sdasad

Mudança Sumário

Diff

--- a/cxx/sm_mapify.hxx
+++ b/cxx/sm_mapify.hxx
@@ -63,7 +63,7 @@
6363 // () is a magic value that signals the end of the list, see _SM_DISCARD_IF_END().
6464 #define _SM_FOREACH(...) _SM_FOREACH2(__VA_ARGS__, ())
6565
66-#define _SM_ADD_FIELD(field_name) { #field_name , &std::remove_pointer<decltype(this)>::type::field_name }
66+#define _SM_ADD_FIELD(name) { #name , &std::remove_pointer<decltype(this)>::type::name }
6767
6868 // SM_MAPIFY_STRUCT(type, field1, ...) is a macro that adds std::map-like at()
6969 // and contains() methods to a struct for specified fields. All mapified fields
Show on old repository browser