diff options
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/asset_manager.cc | 4 | ||||
| -rw-r--r-- | src/util/file_watcher.cc | 2 | ||||
| -rw-r--r-- | src/util/file_watcher.h | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/util/asset_manager.cc b/src/util/asset_manager.cc index 274f0f9..0baa063 100644 --- a/src/util/asset_manager.cc +++ b/src/util/asset_manager.cc @@ -199,7 +199,7 @@ void DropAsset(AssetId asset_id, const uint8_t* asset) { // Note: This only works for assets that read from disk at runtime. // Compiled-in assets cannot be hot-reloaded. bool ReloadAssetsFromFile(const char* config_path) { - (void)config_path; // Unused - just for API consistency + (void)config_path; // Unused - just for API consistency // Clear cache to force reload for (size_t i = 0; i < (size_t)AssetId::ASSET_LAST_ID; ++i) { @@ -212,4 +212,4 @@ bool ReloadAssetsFromFile(const char* config_path) { fprintf(stderr, "[ReloadAssets] Cache cleared\n"); return true; } -#endif // !defined(STRIP_ALL) +#endif // !defined(STRIP_ALL) diff --git a/src/util/file_watcher.cc b/src/util/file_watcher.cc index 22eb824..ddaea1b 100644 --- a/src/util/file_watcher.cc +++ b/src/util/file_watcher.cc @@ -41,4 +41,4 @@ time_t FileWatcher::get_mtime(const char* path) { return 0; } -#endif // !defined(STRIP_ALL) +#endif // !defined(STRIP_ALL) diff --git a/src/util/file_watcher.h b/src/util/file_watcher.h index 2766a43..c183e8a 100644 --- a/src/util/file_watcher.h +++ b/src/util/file_watcher.h @@ -5,9 +5,9 @@ #if !defined(STRIP_ALL) +#include <ctime> #include <string> #include <vector> -#include <ctime> class FileWatcher { public: @@ -28,6 +28,6 @@ class FileWatcher { time_t get_mtime(const char* path); }; -#endif // !defined(STRIP_ALL) +#endif // !defined(STRIP_ALL) -#endif // FILE_WATCHER_H_ +#endif // FILE_WATCHER_H_ |
