Skip to content

Commit 4175867

Browse files
committed
Add return attributes
1 parent 9f1eaef commit 4175867

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/mimeapps.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,31 +1152,31 @@ struct AssociationUpdateQuery
11521152
/**
11531153
* See_Also: $(D MimeAppsListFile.addAssociation)
11541154
*/
1155-
@safe ref typeof(this) addAssociation(string mimeType, string desktopId) nothrow
1155+
@safe ref typeof(this) addAssociation(string mimeType, string desktopId) return nothrow
11561156
{
11571157
_operations ~= Operation(mimeType, desktopId, Operation.Type.add);
11581158
return this;
11591159
}
11601160
/**
11611161
* See_Also: $(D MimeAppsListFile.setAddedAssocations)
11621162
*/
1163-
@safe ref typeof(this) setAddedAssocations(Range)(string mimeType, Range desktopIds) if (isInputRange!Range && is(ElementType!Range : string))
1163+
@safe ref typeof(this) setAddedAssocations(Range)(string mimeType, Range desktopIds) return if (isInputRange!Range && is(ElementType!Range : string))
11641164
{
11651165
_operations ~= Operation(mimeType, MimeAppsGroup.joinApps(desktopIds), Operation.Type.setAdded);
11661166
return this;
11671167
}
11681168
/**
11691169
* See_Also: $(D MimeAppsListFile.removeAssociation)
11701170
*/
1171-
@safe ref typeof(this) removeAssociation(string mimeType, string desktopId) nothrow
1171+
@safe ref typeof(this) removeAssociation(string mimeType, string desktopId) return nothrow
11721172
{
11731173
_operations ~= Operation(mimeType, desktopId, Operation.Type.remove);
11741174
return this;
11751175
}
11761176
/**
11771177
* See_Also: $(D MimeAppsListFile.setDefaultApplication)
11781178
*/
1179-
@safe ref typeof(this) setDefaultApplication(string mimeType, string desktopId) nothrow
1179+
@safe ref typeof(this) setDefaultApplication(string mimeType, string desktopId) return nothrow
11801180
{
11811181
_operations ~= Operation(mimeType, desktopId, Operation.Type.setDefault);
11821182
return this;

0 commit comments

Comments
 (0)