Skip to content

Commit ba68c70

Browse files
committed
Escape a & character.
This seems to break minted / pygments.
1 parent 09c0f97 commit ba68c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

talk/basicconcepts/functions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
struct T {...}; T a;
342342
void fVal(T value); fVal(a); // by value
343343
void fRef(const T &value); fRef(a); // by reference
344-
void fPtr(const T *value); fPtr(|{\setlength{\fboxsep}{0pt}\color{gray}\colorbox{yellow}{\textsc{&}}}|a); // by pointer
344+
void fPtr(const T *value); fPtr(|{\setlength{\fboxsep}{0pt}\color{gray}\colorbox{yellow}{\textsc{\&}}}|a); // by pointer
345345
void fWrite(T &value); fWrite(a); // non-const ref
346346
\end{cppcode*}
347347
\end{block}

0 commit comments

Comments
 (0)