• R/O
  • HTTP
  • SSH
  • HTTPS

system-metrics: Commit


Commit MetaInfo

Révision8bade3689a0716129835dfce94c329b01b64f67c (tree)
l'heure2020-05-24 07:00:16
AuteurTomasz Konojacki <me@xenu...>
CommiterTomasz Konojacki

Message de Log

sdasad

Change Summary

Modification

--- 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
Afficher sur ancien navigateur de dépôt.