From 502a96bad52fcfd2e87b5b32e23df0dbe3ce4d8e Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 15 Jan 2020 12:28:00 +0300 Subject: lab_rat: namespace the functions --- test/lab_rat.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/lab_rat.cpp b/test/lab_rat.cpp index 24f75c6..ae93c7b 100644 --- a/test/lab_rat.cpp +++ b/test/lab_rat.cpp @@ -1,5 +1,7 @@ #include +namespace lab_rat { + void baz() { std::cout << "baz\n"; } @@ -14,7 +16,9 @@ void foo() { bar(); } +} // namespace lab_rat + int main() { - foo(); + lab_rat::foo(); return 0; } -- cgit v1.2.3