<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yu-hr</author_name>
  <author_url>https://blog.hatena.ne.jp/yu-hr/</author_url>
  <blog_title>趣味グラマ。ゆとり。そっちの話だけ。</blog_title>
  <blog_url>https://yu-hr.hatenadiary.org/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>そっち系日記</anon>
    <anon>ミス</anon>
  </categories>
  <description>そっち系のひどいミスをここに書いていこうかと思います。 if( ) + セミコロン if(m_rcSrc.Height &lt;= 0); m_rcSrc.Height = 1; もし高さが0以下なら、それを1にする予定でした。 しかしちゃんとインデントもされているのに、ifのカッコの終わりにセミコロンがついています。 このせいで2行目が必ず実行されるようになっていまいます。 何が一番の原因かって、doubleからfloatへの代入の警告に埋もれていた以下の警告を無視してしまったことでしょうね。 でも本当の理由はassert(条件式);のassertをifに置き換え、条件を逆にした際、セミコロンを取…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyu-hr.hatenadiary.org%2Fentry%2F20090307%2F1236383072&quot; title=&quot;ひどいミス - 趣味グラマ。ゆとり。そっちの話だけ。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://images-fe.ssl-images-amazon.com/images/I/51KJSQYQEEL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-07 08:44:32</published>
  <title>ひどいミス</title>
  <type>rich</type>
  <url>https://yu-hr.hatenadiary.org/entry/20090307/1236383072</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
