Mercurial > hg > orthanc
diff PalantirServer/PalantirRestApi.cpp @ 8:3a584803783e
build with visual studio
author | jodogne |
---|---|
date | Fri, 20 Jul 2012 11:00:49 +0200 |
parents | 3959d33612cc |
children | 96e57b863dd9 |
line wrap: on
line diff
--- a/PalantirServer/PalantirRestApi.cpp Thu Jul 19 22:39:52 2012 +0200 +++ b/PalantirServer/PalantirRestApi.cpp Fri Jul 20 11:00:49 2012 +0200 @@ -111,7 +111,7 @@ Json::Reader reader; if (!reader.parse(postData, query) || - !query.type() == Json::objectValue) + query.type() != Json::objectValue) { return false; }