summaryrefslogtreecommitdiffstats
path: root/include/jau/function_def.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-02-10 13:15:54 +0100
committerSven Gothel <[email protected]>2021-02-10 13:15:54 +0100
commitebdd8181e364d2ad890bf23d990f11c98efc5a8c (patch)
tree4596e929858a01e2afdee9ac37504f2183d848b2 /include/jau/function_def.hpp
parentdfe5528b8a19f28405960a2372fee145a71528cb (diff)
Consolidate conversion to hex and decimal string: template<> to_hexstring() and to_decstring(), drop <type>[Hex|Dec]String(..)
Diffstat (limited to 'include/jau/function_def.hpp')
-rw-r--r--include/jau/function_def.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/jau/function_def.hpp b/include/jau/function_def.hpp
index cee2e12..3d80225 100644
--- a/include/jau/function_def.hpp
+++ b/include/jau/function_def.hpp
@@ -167,7 +167,7 @@ namespace jau {
std::string toString() const override {
// hack to convert member pointer to void *: '*((void**)&member)'
- return "ClassInvocation "+uint64HexString((uint64_t)base)+"->"+aptrHexString( *((void**)&member) );
+ return "ClassInvocation "+to_hexstring((uint64_t)base)+"->"+to_hexstring( *((void**)&member) );
}
};
@@ -208,7 +208,7 @@ namespace jau {
std::string toString() const override {
// hack to convert function pointer to void *: '*((void**)&function)'
- return "PlainInvocation "+aptrHexString( *((void**)&function) );
+ return "PlainInvocation "+to_hexstring( *((void**)&function) );
}
};
@@ -257,7 +257,7 @@ namespace jau {
std::string toString() const override {
// hack to convert function pointer to void *: '*((void**)&function)'
- return "CaptureInvocation "+aptrHexString( *((void**)&function) );
+ return "CaptureInvocation "+to_hexstring( *((void**)&function) );
}
};
@@ -301,7 +301,7 @@ namespace jau {
}
std::string toString() const override {
- return "StdInvocation "+uint64HexString( id );
+ return "StdInvocation "+to_hexstring( id );
}
};