Brian Fiete 3 年之前
父節點
當前提交
1195d0e08f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      IDEHelper/Compiler/CeDebugger.cpp

+ 3 - 3
IDEHelper/Compiler/CeDebugger.cpp

@@ -1526,7 +1526,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp
 		}
 		}
 		else
 		else
 			format = StrFormat("0o%%0%do\n%s", sizeof(val) * 2, name.c_str());
 			format = StrFormat("0o%%0%do\n%s", sizeof(val) * 2, name.c_str());
-		return StrFormat(format.c_str(), (std::make_unsigned<T>::type)(val));
+		return StrFormat(format.c_str(), (typename std::make_unsigned<T>::type)(val));
 	}
 	}
 
 
 	if (intDisplayType == DwIntDisplayType_HexadecimalUpper)
 	if (intDisplayType == DwIntDisplayType_HexadecimalUpper)
@@ -1538,7 +1538,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp
 		}
 		}
 		else
 		else
 			format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str());
 			format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str());
-		return StrFormat(format.c_str(), (std::make_unsigned<T>::type)(val));
+		return StrFormat(format.c_str(), (typename std::make_unsigned<T>::type)(val));
 	}
 	}
 
 
 	//TODO: Implement HexadecimalLower
 	//TODO: Implement HexadecimalLower
@@ -1551,7 +1551,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp
 		}
 		}
 		else
 		else
 			format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str());
 			format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str());
-		return StrFormat(format.c_str(), (std::make_unsigned<T>::type)(val));
+		return StrFormat(format.c_str(), (typename std::make_unsigned<T>::type)(val));
 	}
 	}
 
 
 	if (std::is_unsigned<T>::value)
 	if (std::is_unsigned<T>::value)