Skip to content
Snippets Groups Projects
Commit 58f49e11 authored by Philippe Gorley's avatar Philippe Gorley Committed by Adrien Béraud
Browse files

rational: make AVRational conversion const

Change-Id: Ie9f1c3c23ac9e062e85cfce57aee3b1f9a6cea38
parent af8b39c2
Branches
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ public:
// Define conversions to and from AVRational (equivalent)
rational(AVRational r) : num_(r.num), den_(r.den) {};
operator AVRational() { return AVRational{num_, den_}; }
operator AVRational() const { return AVRational{num_, den_}; }
// Normal copy constructors and assignment operators
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment