Skip to content

Commit 5014a48

Browse files
committed
Merge pull request #32 from mikrosimage/clean_fixDude_2
FileNumbers: fix bug when extract number from a filename
2 parents 010e991 + e78d087 commit 5014a48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/detail/FileNumbers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class FileNumbers
4444
try
4545
{
4646
t = boost::lexical_cast<Time > ( s );
47+
_numbers.push_back( Pair( t, s ) );
4748
}
4849
catch( ... )
4950
{
@@ -52,7 +53,6 @@ class FileNumbers
5253
// ouf of range for Time type.
5354
t = 0;
5455
}
55-
_numbers.push_back( Pair( t, s ) );
5656
}
5757

5858
void clear()

0 commit comments

Comments
 (0)