Skip to content

Fix compilation with clang#181

Open
mid-kid wants to merge 1 commit into
desktop-app:masterfrom
mid-kid:master
Open

Fix compilation with clang#181
mid-kid wants to merge 1 commit into
desktop-app:masterfrom
mid-kid:master

Conversation

@mid-kid

@mid-kid mid-kid commented Jun 10, 2023

Copy link
Copy Markdown

@CLAassistant

CLAassistant commented Jun 10, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ilya-fedin ilya-fedin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's sad... I'd like to avoid mentions of gi::repository, especially in unused arguments.

player().set_rate(1.0);
const auto executeCommand = [=](
GObject::Object,
gi::repository::GObject::Object,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
auto

Comment on lines +235 to +236
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

Comment on lines +243 to +244
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

Comment on lines +250 to +251
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gi::repository::GObject::Object,
gi::repository::GObject::ParamSpec) {
auto,
auto) {

@ilya-fedin

ilya-fedin commented Jun 11, 2023

Copy link
Copy Markdown
Contributor

Another option is to move the using namespace gi::repository; line inside the private namespace. That would be the best outcome if it works.

@ilya-fedin

Copy link
Copy Markdown
Contributor

@mid-kid do you plan to continue work here?

@mid-kid

mid-kid commented Sep 8, 2023

Copy link
Copy Markdown
Author

Sorry, I've been busy and I want to prioritize bumping telegram at all. The change is trivial, however.

@ilya-fedin

Copy link
Copy Markdown
Contributor

Are you sure it's still needed?

@john-preston john-preston force-pushed the master branch 2 times, most recently from 3cf9d27 to 3888062 Compare April 24, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants