Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed error.

  • Loading branch information...
commit e8915f7ecdbe0e0059a6b573eb9578f9be1ef50f 1 parent ea221c9
Vianney Bouchaud authored

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +2 2 gsmlib/gsm_parser.cc
  2. +2 2 gsmlib/gsm_parser.h
4 gsmlib/gsm_parser.cc
@@ -145,11 +145,11 @@ bool Parser::parseChar(char c, bool allowNoChar) throw(GsmException)
145 145 return true;
146 146 }
147 147
148   -std::vector<string> Parser::parseStringList(bool allowNoList)
  148 +std::vector<std::string> Parser::parseStringList(bool allowNoList)
149 149 throw(GsmException)
150 150 {
151 151 // handle case of empty parameter
152   - std::vector<string> result;
  152 + std::vector<std::string> result;
153 153 if (checkEmptyParameter(allowNoList)) return result;
154 154
155 155 parseChar('(');
4 gsmlib/gsm_parser.h
@@ -15,7 +15,7 @@
15 15
16 16 #include <gsmlib/gsm_util.h>
17 17 #include <gsmlib/gsm_error.h>
18   -#include <string>
  18 +#include <std::string>
19 19 #include <vector>
20 20
21 21 namespace gsmlib
@@ -60,7 +60,7 @@ namespace gsmlib
60 60
61 61 // parse a list of the form "("ABC", DEF")"
62 62 // the list can be empty (ie. == "" ) if allowNoList == true
63   - std::vector<string> parseStringList(bool allowNoList = false)
  63 + std::vector<std::string> parseStringList(bool allowNoList = false)
64 64 throw(GsmException);
65 65
66 66 // parse a list of the form "(12, 14)" or "(1-4, 10)"

0 comments on commit e8915f7

Please sign in to comment.
Something went wrong with that request. Please try again.