git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added x2str for double type.
[stg.git]
/
include
/
stg
/
user_traff.h
diff --git
a/include/stg/user_traff.h
b/include/stg/user_traff.h
index 41c6c23fe63814c37c1da51a9a49a43ddbd1ccde..4d5efe6251c42bf7be5239a7da552b585e616b78 100644
(file)
--- a/
include/stg/user_traff.h
+++ b/
include/stg/user_traff.h
@@
-88,7
+88,7
@@
public:
ValueType & operator[](IndexType idx) { return traff[idx]; }
DIR_TRAFF GetData() const
{
- DIR_TRAFF res
(traff.size())
;
+ DIR_TRAFF res;
for (IndexType i = 0; i < traff.size(); ++i)
if (!traff[i].empty())
res[i] = traff[i].data();