Skip to content

Commit 1ffdd32

Browse files
committed
Costume: Use references in the constructor
1 parent fa84a32 commit 1ffdd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/scratchcpp/costume.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class CostumePrivate;
1515
class LIBSCRATCHCPP_EXPORT Costume : public Asset
1616
{
1717
public:
18-
Costume(std::string name, std::string id, std::string format);
18+
Costume(const std::string &name, const std::string &id, const std::string &format);
1919

2020
double bitmapResolution() const;
2121
void setBitmapResolution(double newBitmapResolution);

0 commit comments

Comments
 (0)