OSDN Git Service

readonly structを使用する
[opentween/open-tween.git] / OpenTween / Models / PostClass.cs
index e1d61a3..2954189 100644 (file)
@@ -37,7 +37,7 @@ namespace OpenTween.Models
 {
     public class PostClass : ICloneable
     {
-        public struct StatusGeo : IEquatable<StatusGeo>
+        public readonly struct StatusGeo : IEquatable<StatusGeo>
         {
             public double Longitude { get; }
             public double Latitude { get; }