mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-11 22:53:04 +00:00
21 lines
319 B
C++
21 lines
319 B
C++
#include "audit.h"
|
|
|
|
namespace app {
|
|
void runRef() {
|
|
audit::Event e;
|
|
audit::Event& s = e;
|
|
record(s);
|
|
}
|
|
|
|
void runConstRef() {
|
|
audit::Event e;
|
|
const audit::Event& constEventRef = e;
|
|
recordConst(constEventRef);
|
|
}
|
|
|
|
void runPrimitiveRef() {
|
|
int n = 0;
|
|
int& r = n;
|
|
note(r);
|
|
}
|
|
}
|