summaryrefslogtreecommitdiffstats
path: root/src/CudaDataOperationAlgorithm.cpp
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <wjp@usecode.org>2016-04-14 13:12:18 +0200
committerWillem Jan Palenstijn <wjp@usecode.org>2016-04-14 13:12:18 +0200
commit37951c09410545f3795887052681ee668368c8d0 (patch)
treed7653af5b1ecd88283ec68b28be2c15587a9e025 /src/CudaDataOperationAlgorithm.cpp
parent43910c5678b0133611d5189ea558756fa5bec920 (diff)
parentab583834eec75d23e16b8f205ab65788d8df6ffe (diff)
downloadastra-37951c09410545f3795887052681ee668368c8d0.tar.gz
astra-37951c09410545f3795887052681ee668368c8d0.tar.bz2
astra-37951c09410545f3795887052681ee668368c8d0.tar.xz
astra-37951c09410545f3795887052681ee668368c8d0.zip
Merge pull request #37 from wjp/cppcheck
Fix cppcheck warnings
Diffstat (limited to 'src/CudaDataOperationAlgorithm.cpp')
-rw-r--r--src/CudaDataOperationAlgorithm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CudaDataOperationAlgorithm.cpp b/src/CudaDataOperationAlgorithm.cpp
index 15886a4..82b676b 100644
--- a/src/CudaDataOperationAlgorithm.cpp
+++ b/src/CudaDataOperationAlgorithm.cpp
@@ -76,7 +76,7 @@ bool CCudaDataOperationAlgorithm::initialize(const Config& _cfg)
node = _cfg.self.getSingleNode("DataId");
ASTRA_CONFIG_CHECK(node, "CCudaDataOperationAlgorithm", "No DataId tag specified.");
vector<string> data = node.getContentArray();
- for (vector<string>::iterator it = data.begin(); it != data.end(); it++){
+ for (vector<string>::iterator it = data.begin(); it != data.end(); ++it){
int id = StringUtil::stringToInt(*it);
m_pData.push_back(dynamic_cast<CFloat32Data2D*>(CData2DManager::getSingleton().get(id)));
}