Skip to content

Commit a8db46f

Browse files
committed
format code
1 parent 3af2c7d commit a8db46f

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

examples/cli/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,6 @@ void step_callback(int step, int frame_count, sd_image_t* image, bool is_noisy,
18911891
}
18921892

18931893
int main(int argc, const char* argv[]) {
1894-
18951894
if (argc > 1 && std::string(argv[1]) == "--version") {
18961895
std::cout << version_string() << "\n";
18971896
return EXIT_SUCCESS;

stable-diffusion.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,8 @@ SD_API bool preprocess_canny(sd_image_t image,
359359
float strong,
360360
bool inverse);
361361

362-
SD_API const char * sd_commit(void);
363-
SD_API const char * sd_version(void);
364-
362+
SD_API const char* sd_commit(void);
363+
SD_API const char* sd_version(void);
365364

366365
#ifdef __cplusplus
367366
}

version.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@
1111
#define STRINGIZE2(x) #x
1212
#define STRINGIZE(x) STRINGIZE2(x)
1313

14-
const char * sd_commit(void) {
14+
const char* sd_commit(void) {
1515
return STRINGIZE(SDCPP_BUILD_COMMIT);
1616
}
1717

18-
const char * sd_version(void) {
18+
const char* sd_version(void) {
1919
return STRINGIZE(SDCPP_BUILD_VERSION);
2020
}
21-
22-

0 commit comments

Comments
 (0)