Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
58f49e11
Commit
58f49e11
authored
6 years ago
by
Philippe Gorley
Committed by
Adrien Béraud
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
rational: make AVRational conversion const
Change-Id: Ie9f1c3c23ac9e062e85cfce57aee3b1f9a6cea38
parent
af8b39c2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rational.h
+1
-1
1 addition, 1 deletion
src/rational.h
with
1 addition
and
1 deletion
src/rational.h
+
1
−
1
View file @
58f49e11
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment