Skip to content

Commit a3f3a20

Browse files
committed
Updated example to fix issue with not using namespace.
1 parent 2b5bd8a commit a3f3a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ The library only uses header files, which means they can be used purely by inclu
1616

1717
int main()
1818
{
19-
Date gmt_now_date = NowDate::Now();
20-
Date my_birthday(1, Date::January, 1980);
19+
ocl::Date gmt_now_date = ocl::NowDate::Now();
20+
ocl::Date my_birthday(1, ocl::Date::January, 1980);
2121

2222
auto days_alive = my_birthday.GetDifferenceInDays(gmt_now_date);
2323

0 commit comments

Comments
 (0)