From f540038d0dad90fea974863fb589913d8143c675 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 8 Sep 2018 20:16:19 +0200 Subject: [PATCH] Remove spacing from source code. --- manual/tracy.tex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index 7e0be842..1debf7a9 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -425,17 +425,17 @@ Tracy can monitor memory usage of your application. Knowledge about each perform To mark memory events, use the \texttt{TracyAlloc(ptr, size)} and \texttt{TracyFree(ptr)} macros. Typically you would do that in overloads of \texttt{operator new} and \texttt{operator delete}, for example: \begin{lstlisting} -void* operator new( std::size_t count ) +void* operator new(std::size_t count) { - auto ptr = malloc( count ); - TracyAlloc( ptr, count ); + auto ptr = malloc(count); + TracyAlloc(ptr, count); return ptr; } -void operator delete( void* ptr ) noexcept +void operator delete(void* ptr) noexcept { - TracyFree( ptr ); - free( ptr ); + TracyFree(ptr); + free(ptr); } \end{lstlisting}