Browse Source

fix whitespace

Andrey Filipenkov 2 weeks ago
parent
commit
37b40c04bb
3 changed files with 3 additions and 7 deletions
  1. 0 4
      CMakeLists.txt
  2. 1 1
      lib/VCMIDirs.cpp
  3. 2 2
      lib/callback/CDynLibHandler.cpp

+ 0 - 4
CMakeLists.txt

@@ -5,10 +5,6 @@ cmake_minimum_required(VERSION 3.16.0)
 
 project(VCMI)
 # TODO
-# Vckpg:
-# - Improve install code once there is better way to deploy DLLs and Qt plugins
-#
-# Other:
 # - Cleanup remove_directory copy_directory if performance will be a problem.
 # We can use some macro over copy_if_different since it's only work for single file.
 # - Find a way to move add_custom_command for assets deploy out of "lib/CMakeLists.txt"

+ 1 - 1
lib/VCMIDirs.cpp

@@ -566,7 +566,7 @@ bfs::path VCMIDirsXDG::userConfigPath() const
 	const char * tempResult = getenv("XDG_CONFIG_HOME");
 	if (tempResult)
 		return bfs::path(tempResult) / "vcmi";
-	
+
 	tempResult = getenv("HOME");
 	if (tempResult)
 		return bfs::path(tempResult) / ".config" / "vcmi";

+ 2 - 2
lib/callback/CDynLibHandler.cpp

@@ -41,8 +41,8 @@
 
 VCMI_LIB_NAMESPACE_BEGIN
 
-	template<typename rett>
-	std::shared_ptr<rett> createAny(const boost::filesystem::path & libpath, const std::string & methodName)
+template<typename rett>
+std::shared_ptr<rett> createAny(const boost::filesystem::path & libpath, const std::string & methodName)
 {
 #ifdef STATIC_AI
 	// android currently doesn't support loading libs dynamically, so the access to the known libraries