summary refs log tree commit diff stats
path: root/tools/util/naming.cpp
blob: 12594c50375b89d5ce68e18c109cbee3a84f8d83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include "naming.h"

#include <sstream>

std::string GetLetterName(std::string key, bool double_) {
  std::ostringstream lettername_s;
  lettername_s << key;
  lettername_s << (double_ ? "2" : "1");

  return lettername_s.str();
}