mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-14 12:56:33 +00:00
remove unused methods
This commit is contained in:
1 parent
6c634edd4c
commit
1b56fa2032
1 file changed
-12
@@ -1705,18 +1705,6 @@ struct SDGenerationParams {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_width_if_unset(int w) {
|
|
||||||
if (width <= 0) {
|
|
||||||
width = w;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_height_if_unset(int h) {
|
|
||||||
if (height <= 0) {
|
|
||||||
height = h;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool width_and_height_are_set() const {
|
bool width_and_height_are_set() const {
|
||||||
return width > 0 && height > 0;
|
return width > 0 && height > 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user